Skip to content

Commit 4b1800a

Browse files
authored
Unrolled build for #145073
Rollup merge of #145073 - ZuseZ4:autodiff-llvm-21, r=jieyouxu update enzyme submodule to handle llvm 21 This currently has a fix / workaround in our local rust-lang/Enzyme fork, which is needed to unblock a few people contributing to std::autodiff. It also permanently disables a component (BCLoader) which we shouldn't need on the rust side, hence saving a bit of compile time and disk space. Once upstream Enzyme (EnzymeAD/Enzyme) fixed llvm-21 support I'll probably make another pr to drop our local patch.
2 parents 2de2456 + c00881b commit 4b1800a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ impl Step for Enzyme {
986986
.env("LLVM_CONFIG_REAL", &llvm_config)
987987
.define("LLVM_ENABLE_ASSERTIONS", "ON")
988988
.define("ENZYME_EXTERNAL_SHARED_LIB", "ON")
989+
.define("ENZYME_BC_LOADER", "OFF")
989990
.define("LLVM_DIR", builder.llvm_out(target));
990991

991992
cfg.build();

src/tools/enzyme

Submodule enzyme updated 65 files

0 commit comments

Comments
 (0)