Skip to content

Commit 4fd3cf9

Browse files
committed
Downgrade Xcode from the default (15.0) to 14.3.1.
This seems to fix two sporadic errors that have been appearing in CI. One is an issue with cmake being unable to verify that cmake is able to build a simple test program. The other is a `invalid r_symbolnum` linking error when trying to build one of cranelift's tests. This is intended as a temporary fix until we can figure out how to resolve those issues.
1 parent 0cbef48 commit 4fd3cf9

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin"
323323
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
324324
MACOSX_DEPLOYMENT_TARGET: 10.12
325-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
325+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
326326
NO_LLVM_ASSERTIONS: 1
327327
NO_DEBUG_ASSERTIONS: 1
328328
NO_OVERFLOW_CHECKS: 1
@@ -335,7 +335,7 @@ jobs:
335335
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc"
336336
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
337337
MACOSX_DEPLOYMENT_TARGET: 10.12
338-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
338+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
339339
NO_LLVM_ASSERTIONS: 1
340340
NO_DEBUG_ASSERTIONS: 1
341341
NO_OVERFLOW_CHECKS: 1
@@ -347,6 +347,7 @@ jobs:
347347
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
348348
MACOSX_DEPLOYMENT_TARGET: 10.12
349349
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
350+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
350351
NO_LLVM_ASSERTIONS: 1
351352
NO_DEBUG_ASSERTIONS: 1
352353
NO_OVERFLOW_CHECKS: 1
@@ -358,6 +359,7 @@ jobs:
358359
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
359360
MACOSX_DEPLOYMENT_TARGET: 10.12
360361
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
362+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
361363
NO_LLVM_ASSERTIONS: 1
362364
NO_DEBUG_ASSERTIONS: 1
363365
NO_OVERFLOW_CHECKS: 1
@@ -367,7 +369,7 @@ jobs:
367369
SCRIPT: "./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
368370
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false --set rust.lto=thin"
369371
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
370-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
372+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
371373
USE_XCODE_CLANG: 1
372374
MACOSX_DEPLOYMENT_TARGET: 11.0
373375
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
@@ -381,7 +383,7 @@ jobs:
381383
SCRIPT: "./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
382384
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc"
383385
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
384-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
386+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
385387
USE_XCODE_CLANG: 1
386388
MACOSX_DEPLOYMENT_TARGET: 11.0
387389
MACOSX_STD_DEPLOYMENT_TARGET: 11.0

src/ci/github-actions/ci.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ jobs:
514514
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin
515515
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
516516
MACOSX_DEPLOYMENT_TARGET: 10.12
517-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
517+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
518518
NO_LLVM_ASSERTIONS: 1
519519
NO_DEBUG_ASSERTIONS: 1
520520
NO_OVERFLOW_CHECKS: 1
@@ -528,7 +528,7 @@ jobs:
528528
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc
529529
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
530530
MACOSX_DEPLOYMENT_TARGET: 10.12
531-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
531+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
532532
NO_LLVM_ASSERTIONS: 1
533533
NO_DEBUG_ASSERTIONS: 1
534534
NO_OVERFLOW_CHECKS: 1
@@ -541,6 +541,7 @@ jobs:
541541
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
542542
MACOSX_DEPLOYMENT_TARGET: 10.12
543543
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
544+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
544545
NO_LLVM_ASSERTIONS: 1
545546
NO_DEBUG_ASSERTIONS: 1
546547
NO_OVERFLOW_CHECKS: 1
@@ -564,7 +565,7 @@ jobs:
564565
--set llvm.ninja=false
565566
--set rust.lto=thin
566567
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
567-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
568+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
568569
USE_XCODE_CLANG: 1
569570
MACOSX_DEPLOYMENT_TARGET: 11.0
570571
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
@@ -583,7 +584,7 @@ jobs:
583584
--enable-profiler
584585
--set rust.jemalloc
585586
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
586-
SELECT_XCODE: /Applications/Xcode_13.4.1.app
587+
SELECT_XCODE: /Applications/Xcode_14.3.1.app
587588
USE_XCODE_CLANG: 1
588589
MACOSX_DEPLOYMENT_TARGET: 11.0
589590
MACOSX_STD_DEPLOYMENT_TARGET: 11.0

0 commit comments

Comments
 (0)