Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dc9ad1a

Browse files
committed
test autodiff on more builders
1 parent d021346 commit dc9ad1a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ci/docker/host-aarch64/dist-aarch64-linux/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ ENV RUST_CONFIGURE_ARGS \
8989
--set llvm.thin-lto=true \
9090
--set llvm.libzstd=true \
9191
--set llvm.ninja=false \
92+
--set llvm.plugins=true \
93+
--set llvm.enzyme=true \
9294
--set rust.debug-assertions=false \
9395
--set rust.jemalloc \
9496
--set rust.use-lld=true \

src/ci/github-actions/jobs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ auto:
369369
- name: dist-x86_64-apple
370370
env:
371371
SCRIPT: ./x.py dist bootstrap --include-default-paths --host=x86_64-apple-darwin --target=x86_64-apple-darwin
372-
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
372+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set llvm.plugins=true --set llvm.enzyme=true --set rust.jemalloc --set rust.lto=thin --set rust.codegen-units=1
373373
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
374374
# Ensure that host tooling is built to support our minimum support macOS version.
375375
MACOSX_DEPLOYMENT_TARGET: 10.12
@@ -387,7 +387,7 @@ auto:
387387
SCRIPT: ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim,aarch64-apple-ios-macabi,x86_64-apple-ios-macabi
388388
# Mac Catalyst cannot currently compile the sanitizer:
389389
# https://github.com/rust-lang/rust/issues/129069
390-
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc --set target.aarch64-apple-ios-macabi.sanitizers=false --set target.x86_64-apple-ios-macabi.sanitizers=false
390+
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.plugins=true --set llvm.enzyme=true --set target.aarch64-apple-ios-macabi.sanitizers=false --set target.x86_64-apple-ios-macabi.sanitizers=false
391391
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
392392
# Ensure that host tooling is built to support our minimum support macOS version.
393393
# FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
@@ -419,6 +419,8 @@ auto:
419419
--enable-profiler
420420
--set rust.jemalloc
421421
--set llvm.ninja=false
422+
--set llvm.plugins=true \
423+
--set llvm.enzyme=true \
422424
--set rust.lto=thin
423425
--set rust.codegen-units=1
424426
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1

0 commit comments

Comments
 (0)