From b7718e93a7288d24dc3c3ca88cdefea6f6ff8e23 Mon Sep 17 00:00:00 2001 From: Gilles Duboscq Date: Wed, 8 Mar 2023 15:39:12 +0100 Subject: [PATCH] Build GraalVM on Big Sur Ensure we don't use older macos versions --- ci/common.jsonnet | 2 +- espresso/ci/ci_common/common.jsonnet | 6 +++--- sulong/ci/ci_common/sulong-common.jsonnet | 3 +-- vm/ci/ci_common/common.jsonnet | 6 +++--- wasm/ci/ci_common/common.jsonnet | 4 +--- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ci/common.jsonnet b/ci/common.jsonnet index a9e64dc11602..3960c9bf8050 100644 --- a/ci/common.jsonnet +++ b/ci/common.jsonnet @@ -344,7 +344,7 @@ local common_json = import "../common.json"; }, local linux = { os:: "linux", capabilities+: [self.os] }, - local darwin = { os:: "darwin", capabilities+: [self.os] }, + local darwin = { os:: "darwin", capabilities+: [self.os, "!darwin_sierra", "!darwin_mojave", "!darwin_catalina"] }, local windows = { os:: "windows", capabilities+: [self.os] }, local amd64 = { arch:: "amd64", capabilities+: [self.arch] }, diff --git a/espresso/ci/ci_common/common.jsonnet b/espresso/ci/ci_common/common.jsonnet index 34488276e63f..59db9238612e 100644 --- a/espresso/ci/ci_common/common.jsonnet +++ b/espresso/ci/ci_common/common.jsonnet @@ -39,10 +39,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 + { diff --git a/sulong/ci/ci_common/sulong-common.jsonnet b/sulong/ci/ci_common/sulong-common.jsonnet index d051496e3f28..bef5b36e1924 100644 --- a/sulong/ci/ci_common/sulong-common.jsonnet +++ b/sulong/ci/ci_common/sulong-common.jsonnet @@ -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 + { local jdk = if self.jdk_name == "jdk-latest" then "jdkLatest" else self.jdk_name, diff --git a/vm/ci/ci_common/common.jsonnet b/vm/ci/ci_common/common.jsonnet index be3c970b9063..2758a8dd5157 100644 --- a/vm/ci/ci_common/common.jsonnet +++ b/vm/ci/ci_common/common.jsonnet @@ -171,13 +171,13 @@ local devkits = graal_common.devkits; vm_ol9_aarch64: self.vm_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', }, }, diff --git a/wasm/ci/ci_common/common.jsonnet b/wasm/ci/ci_common/common.jsonnet index 2f65920730c2..79b0b4ede4fa 100644 --- a/wasm/ci/ci_common/common.jsonnet +++ b/wasm/ci/ci_common/common.jsonnet @@ -40,9 +40,7 @@ local graal_suite_root = root_ci.graal_suite_root; linux_aarch64:: common.linux_aarch64 + self.linux_common, darwin_aarch64:: common.darwin_aarch64, - darwin_amd64:: common.darwin_amd64 + { - capabilities+: ['darwin_catalina'], - }, + darwin_amd64:: common.darwin_amd64, windows_common:: { packages+: $.devkits["windows-" + self.jdk_name].packages,