@@ -100,6 +100,12 @@ envs:
100100 MACOSX_DEPLOYMENT_TARGET : 10.12
101101 MACOSX_STD_DEPLOYMENT_TARGET : 10.12
102102
103+ # Aarch64 tooling only needs to support macOS 11.0 as this is the
104+ # first OS version to support the hardware.
105+ env-macos-aarch64-target : &env-macos-aarch64-target
106+ MACOSX_DEPLOYMENT_TARGET : 11.0
107+ MACOSX_STD_DEPLOYMENT_TARGET : 11.0
108+
103109jobs :
104110 dist-x86_64-linux : &job-dist-x86_64-linux
105111 name : dist-x86_64-linux
@@ -468,10 +474,7 @@ auto:
468474 --set rust.jemalloc
469475 --set rust.lto=thin
470476 --set rust.codegen-units=1
471- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
472- # supports the hardware.
473- MACOSX_DEPLOYMENT_TARGET : 11.0
474- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
477+ << : *env-macos-aarch64-target
475478 << : *env-macos-xcode
476479 DIST_REQUIRE_ALL_TOOLS : 1
477480 CODEGEN_BACKENDS : llvm,cranelift
@@ -486,10 +489,7 @@ auto:
486489 --enable-sanitizers
487490 --enable-profiler
488491 --set rust.jemalloc
489- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
490- # supports the hardware, so only need to test it there.
491- MACOSX_DEPLOYMENT_TARGET : 11.0
492- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
492+ << : *env-macos-aarch64-target
493493 << : *env-macos-xcode
494494 << : *job-macos
495495
0 commit comments