Skip to content

Commit

Permalink
Build GraalVM on Big Sur
Browse files Browse the repository at this point in the history
Ensure we don't use older macos versions

(cherry picked from commit b7718e9)
  • Loading branch information
gilles-duboscq authored and aelmassa committed Feb 19, 2024
1 parent 97d302c commit c928ec5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
3 changes: 2 additions & 1 deletion ci/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ local common_json = import "../common.json";
},

local linux = deps_linux + common + { os:: "linux", capabilities+: [self.os] },
local darwin = deps_darwin + common + { os:: "darwin", capabilities+: [self.os] },
# Run darwin jobs on Big Sur or later by excluding all older versions
local darwin = deps_darwin + common + { os:: "darwin", capabilities+: [self.os, "!darwin_sierra", "!darwin_mojave", "!darwin_catalina"] },
local windows = deps_windows + common + { os:: "windows", capabilities+: [self.os] },
local windows_server_2016 = windows + { capabilities+: ["windows_server_2016"] },

Expand Down
6 changes: 3 additions & 3 deletions espresso/ci/ci_common/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];

darwin_amd64: self.common + graal_common.darwin_amd64 + {
environment+: {
// for compatibility with macOS High Sierra
MACOSX_DEPLOYMENT_TARGET: '10.13',
// for compatibility with macOS Big Sur
MACOSX_DEPLOYMENT_TARGET: '11.0',
},
capabilities+: ['darwin_mojave', 'ram32gb'],
capabilities+: ['ram32gb'],
},

darwin_aarch64: self.common + graal_common.darwin_aarch64 + {
Expand Down
3 changes: 1 addition & 2 deletions sulong/ci/ci_common/sulong-common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ local sulong_deps = common.deps.sulong;

linux_amd64:: linux_amd64 + sulong_deps,
linux_aarch64:: linux_aarch64 + sulong_deps,
# Avoid darwin_sierra builders in our CI. This is missing a declaration (fmemopen) that some of our tests need.
darwin_amd64:: darwin_amd64 + sulong_deps + { capabilities+: ["!darwin_sierra"] },
darwin_amd64:: darwin_amd64 + sulong_deps,
darwin_aarch64:: darwin_aarch64 + sulong_deps,
windows_amd64:: windows_amd64 + sulong_deps + {
packages+: common.devkits["windows-" + self.jdk].packages
Expand Down
6 changes: 3 additions & 3 deletions vm/ci/ci_common/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ local devkits = graal_common.devkits;
vm_linux_aarch64_ol9: self.common_vm_linux + graal_common.linux_aarch64_ol9,

vm_darwin_amd64: self.common_vm_darwin + graal_common.darwin_amd64 + {
capabilities+: ['darwin_mojave', 'ram16gb'],
capabilities+: ['darwin_bigsur', 'ram16gb'],
packages+: {
gcc: '==4.9.2',
},
environment+: {
# for compatibility with macOS Sierra
MACOSX_DEPLOYMENT_TARGET: '10.13',
# for compatibility with macOS BigSur
MACOSX_DEPLOYMENT_TARGET: '11.0',
},
},

Expand Down
4 changes: 1 addition & 3 deletions wasm/ci/ci_common/common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ local graal_suite_root = root_ci.graal_suite_root;
},

darwin_aarch64:: common.darwin_aarch64,
darwin_amd64:: common.darwin_amd64 + {
capabilities+: ['darwin_catalina'],
},
darwin_amd64:: common.darwin_amd64,

windows_common:: {
packages+: $.devkits["windows-jdk" + self.jdk_version].packages,
Expand Down

0 comments on commit c928ec5

Please sign in to comment.