Skip to content

Commit e690318

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 (removed # in front of it to avoid spamming them every time I do a try build in this PR): 139700 139308 139557 140030 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 b8c54d6 + 4b353ac commit e690318

File tree

9 files changed

+6
-110
lines changed

9 files changed

+6
-110
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

tests/ui/autodiff/visibility.rs

-17
This file was deleted.

tests/ui/autodiff/visibility.std_autodiff.stderr

-24
This file was deleted.

tests/ui/feature-gates/feature-gate-autodiff-use.has_support.stderr

-23
This file was deleted.

tests/ui/feature-gates/feature-gate-autodiff-use.no_support.stderr

-29
This file was deleted.

tests/ui/feature-gates/feature-gate-autodiff-use.rs

-17
This file was deleted.

0 commit comments

Comments
 (0)