@@ -553,14 +553,17 @@ jobs:
553
553
# This target only needs to support 11.0 and up as nothing else supports the hardware
554
554
- name : dist-aarch64-apple
555
555
env :
556
- SCRIPT : ./x.py dist bootstrap --include-default-paths --host=aarch64-apple-darwin --target=aarch64-apple-darwin
556
+ SCRIPT : ./x.py dist bootstrap --include-default-paths --stage 2
557
557
RUST_CONFIGURE_ARGS : >-
558
+ --build=x86_64-apple-darwin
559
+ --host=aarch64-apple-darwin
560
+ --target=aarch64-apple-darwin
558
561
--enable-full-tools
559
562
--enable-sanitizers
560
563
--enable-profiler
564
+ --disable-docs
561
565
--set rust.jemalloc
562
566
--set llvm.ninja=false
563
- --set rust.lto=thin
564
567
RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
565
568
SELECT_XCODE : /Applications/Xcode_13.4.1.app
566
569
USE_XCODE_CLANG : 1
@@ -570,13 +573,24 @@ jobs:
570
573
NO_DEBUG_ASSERTIONS : 1
571
574
NO_OVERFLOW_CHECKS : 1
572
575
DIST_REQUIRE_ALL_TOOLS : 1
573
- << : *job-macos-m1
576
+ # Corresponds to 16K page size
577
+ #
578
+ # Shouldn't be needed if jemalloc-sys is updated to
579
+ # handle this platform like iOS or if we build on
580
+ # aarch64-apple-darwin itself.
581
+ #
582
+ # https://github.com/gnzlbg/jemallocator/blob/c27a859e98e3cb790dc269773d9da71a1e918458/jemalloc-sys/build.rs#L237
583
+ JEMALLOC_SYS_WITH_LG_PAGE : 14
584
+ << : *job-macos-xl
574
585
575
586
# This target only needs to support 11.0 and up as nothing else supports the hardware
576
587
- name : aarch64-apple
577
588
env :
578
- SCRIPT : ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin
589
+ SCRIPT : ./x.py --stage 2 test
579
590
RUST_CONFIGURE_ARGS : >-
591
+ --build=x86_64-apple-darwin
592
+ --host=aarch64-apple-darwin
593
+ --target=aarch64-apple-darwin
580
594
--enable-sanitizers
581
595
--enable-profiler
582
596
--set rust.jemalloc
@@ -589,7 +603,15 @@ jobs:
589
603
NO_LLVM_ASSERTIONS : 1
590
604
NO_DEBUG_ASSERTIONS : 1
591
605
NO_OVERFLOW_CHECKS : 1
592
- << : *job-macos-m1
606
+ # Corresponds to 16K page size
607
+ #
608
+ # Shouldn't be needed if jemalloc-sys is updated to
609
+ # handle this platform like iOS or if we build on
610
+ # aarch64-apple-darwin itself.
611
+ #
612
+ # https://github.com/gnzlbg/jemallocator/blob/c27a859e98e3cb790dc269773d9da71a1e918458/jemalloc-sys/build.rs#L237
613
+ JEMALLOC_SYS_WITH_LG_PAGE : 14
614
+ << : *job-macos-xl
593
615
594
616
# #####################
595
617
# Windows Builders #
0 commit comments