Skip to content

Commit

Permalink
fixed version for cmake on darwin_a{md,arch}64
Browse files Browse the repository at this point in the history
  • Loading branch information
lewurm committed Mar 18, 2022
1 parent c0bc092 commit fc271c7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
9 changes: 7 additions & 2 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@
"cmake": "==3.15.2"
}
},
"darwin": {
"darwin_amd64": {
"packages": {
"cmake": ">=3.15.2"
"cmake": "==3.15.2"
}
},
"darwin_aarch64": {
"packages": {
"cmake": "==3.22.2"
}
},
"windows": {
Expand Down
2 changes: 1 addition & 1 deletion sulong/ci_common/sulong-common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

linux_amd64:: linux_amd64 + sulong_deps.linux,
linux_aarch64:: linux_aarch64 + sulong_deps.linux,
darwin_amd64:: darwin_amd64 + sulong_deps.darwin,
darwin_amd64:: darwin_amd64 + sulong_deps.darwin_amd64,
windows_amd64:: windows_amd64 + sulong_deps.windows,

sulong_notifications:: {
Expand Down
13 changes: 7 additions & 6 deletions vm/ci_common/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ local devkits = common_json.devkits;

# SULONG
sulong_linux: common_json.sulong.deps.common + common_json.sulong.deps.linux,
sulong_darwin: common_json.sulong.deps.common + common_json.sulong.deps.darwin,
sulong_darwin_amd64: common_json.sulong.deps.common + common_json.sulong.deps.darwin_amd64,
sulong_darwin_aarch64: common_json.sulong.deps.common + common_json.sulong.deps.darwin_aarch64,

# TRUFFLERUBY
truffleruby_linux: self.sulong_linux + common_json.truffleruby.deps.common + common_json.truffleruby.deps.linux,
truffleruby_darwin: self.sulong_darwin + common_json.truffleruby.deps.common + common_json.truffleruby.deps.darwin,
truffleruby_darwin_amd64: self.sulong_darwin_amd64 + common_json.truffleruby.deps.common + common_json.truffleruby.deps.darwin,

# FASTR
# Note: On both Linux and MacOS, FastR depends on the gnur module and on gfortran
Expand Down Expand Up @@ -173,7 +174,7 @@ local devkits = common_json.devkits;
},
},

graalpython_darwin: self.sulong_darwin + {},
graalpython_darwin_amd64: self.sulong_darwin_amd64 + {},

vm_linux_amd64: self.common_vm_linux + graal_common.linux_amd64 + {
capabilities+: ['manycores', 'ram16gb', 'fast'],
Expand Down Expand Up @@ -399,9 +400,9 @@ local devkits = common_json.devkits;
full_vm_build_linux: self.ruby_vm_build_linux + self.fastr_linux + self.graalpython_linux,
full_vm_build_linux_aarch64: self.svm_common_linux_aarch64 + self.sulong_linux + vm.custom_vm_linux,

ruby_vm_build_darwin_amd64: self.svm_common_darwin_amd64 + self.sulong_darwin + self.truffleruby_darwin + vm.custom_vm_darwin,
full_vm_build_darwin_amd64: self.ruby_vm_build_darwin_amd64 + self.fastr_darwin + self.graalpython_darwin,
full_vm_build_darwin_aarch64: self.svm_common_darwin_aarch64 + self.sulong_darwin,
ruby_vm_build_darwin_amd64: self.svm_common_darwin_amd64 + self.sulong_darwin_amd64 + self.truffleruby_darwin_amd64 + vm.custom_vm_darwin,
full_vm_build_darwin_amd64: self.ruby_vm_build_darwin_amd64 + self.fastr_darwin + self.graalpython_darwin_amd64,
full_vm_build_darwin_aarch64: self.svm_common_darwin_aarch64 + self.sulong_darwin_aarch64,

local libgraal_build(build_args) =
['mx', '--env', vm.libgraal_env] + ['--extra-image-builder-argument=%s' % arg for arg in build_args] + ['build'],
Expand Down

0 comments on commit fc271c7

Please sign in to comment.