Skip to content

Commit cd73423

Browse files
committed
Auto merge of #136428 - EnzymeAD:enable-autodiff, r=<try>
test building enzyme in CI We will later need to make it more granular before merging, but let's start by figuring out how many things we break right now in the first place. For now I modified `src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile`, so let's try that dist job first. try-job: dist-x86_64-linux r? `@oli-obk` Tracking: - #124509
2 parents 4a43094 + f15f626 commit cd73423

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: config.example.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@
7979
#tests = false
8080

8181
# Indicates whether the LLVM plugin is enabled or not
82-
#plugins = false
82+
#plugins = true
8383

8484
# Whether to build Enzyme as AutoDiff backend.
85-
#enzyme = false
85+
#enzyme = true
8686

8787
# Whether to build LLVM with support for it's gpu offload runtime.
8888
#offload = false

Diff for: src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ ENV RUST_CONFIGURE_ARGS \
8989
--set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
9090
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
9191
--set llvm.thin-lto=true \
92+
--set llvm.plugins=true \
93+
--set llvm.enzyme=true \
9294
--set llvm.ninja=false \
9395
--set llvm.libzstd=true \
9496
--set rust.jemalloc \

0 commit comments

Comments
 (0)