Skip to content

Commit 22fa494

Browse files
committed
Auto merge of rust-lang#140064 - EnzymeAD:enable-autodiff-in-ci, r=<try>
[DO NOT MERGE] start building enzyme on x86_64-gnu-llvm-{19|20} builders My goal is to put this in CI on April 26, to have a week to land some of the outstanding PRs: rust-lang#139700 rust-lang#139308 rust-lang#139557 rust-lang#140030 rust-lang#140049 The autodiff flags PR should land first, but otherwise they don't overlap and are mostly ready, so it shouldn't be too hard to land them. In the meantime, I'll experiment here with some builders. r? `@oli-obk` Tracking: - rust-lang#124509 try-job: dist-x86_64-linux
2 parents 49e5e4e + ca4cd19 commit 22fa494

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ ENV RUST_CONFIGURE_ARGS \
9090
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
9191
--set llvm.thin-lto=true \
9292
--set llvm.ninja=false \
93+
--set llvm.plugins=true \
94+
--set llvm.enzyme=true \
9395
--set llvm.libzstd=true \
9496
--set rust.jemalloc \
9597
--set rust.use-lld=true \

src/ci/docker/host-x86_64/x86_64-gnu-llvm-19/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ ENV RUST_CONFIGURE_ARGS \
5252
--build=x86_64-unknown-linux-gnu \
5353
--llvm-root=/usr/lib/llvm-19 \
5454
--enable-llvm-link-shared \
55+
--enable-llvm-enzyme \
5556
--set rust.randomize-layout=true \
5657
--set rust.thin-lto-import-instr-limit=10
5758

src/ci/docker/host-x86_64/x86_64-gnu-llvm-20/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ ENV RUST_CONFIGURE_ARGS \
5252
--build=x86_64-unknown-linux-gnu \
5353
--llvm-root=/usr/lib/llvm-20 \
5454
--enable-llvm-link-shared \
55+
--enable-llvm-enzyme \
5556
--set rust.randomize-layout=true \
5657
--set rust.thin-lto-import-instr-limit=10
5758

src/ci/docker/host-x86_64/x86_64-gnu/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ ENV RUST_CONFIGURE_ARGS \
3030
--enable-profiler \
3131
--enable-compiler-docs \
3232
--set llvm.libzstd=true
33+
--set llvm.plugins=true \
34+
--set llvm.enzyme=true \
3335
ENV SCRIPT python3 ../x.py --stage 2 test

0 commit comments

Comments
 (0)