Skip to content

Commit

Permalink
Auto merge of rust-lang#136428 - EnzymeAD:enable-autodiff, r=<try>
Browse files Browse the repository at this point in the history
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:

- rust-lang#124509
  • Loading branch information
bors committed Feb 3, 2025
2 parents 4a43094 + f15f626 commit cd73423
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
#tests = false

# Indicates whether the LLVM plugin is enabled or not
#plugins = false
#plugins = true

# Whether to build Enzyme as AutoDiff backend.
#enzyme = false
#enzyme = true

# Whether to build LLVM with support for it's gpu offload runtime.
#offload = false
Expand Down
2 changes: 2 additions & 0 deletions src/ci/docker/host-x86_64/dist-x86_64-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ ENV RUST_CONFIGURE_ARGS \
--set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
--set llvm.thin-lto=true \
--set llvm.plugins=true \
--set llvm.enzyme=true \
--set llvm.ninja=false \
--set llvm.libzstd=true \
--set rust.jemalloc \
Expand Down

0 comments on commit cd73423

Please sign in to comment.