diff options
| author | Manuel Drehwald <git@manuel.drehwald.info> | 2025-02-10 01:35:22 -0500 |
|---|---|---|
| committer | Manuel Drehwald <git@manuel.drehwald.info> | 2025-02-10 01:35:22 -0500 |
| commit | 1221cff55149d2dbbf8761345799ef06f8099b97 (patch) | |
| tree | b21703aa4527bad47c9cff195845ef7d0b04d3a4 /compiler/rustc_llvm/build.rs | |
| parent | 21d096184e3c7e05646ee756a2ff6a99e90aff77 (diff) | |
| download | rust-1221cff55149d2dbbf8761345799ef06f8099b97.tar.gz rust-1221cff55149d2dbbf8761345799ef06f8099b97.zip | |
move second opt run to lto phase and cleanup code
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index d9d28299413..48806888b43 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -193,6 +193,10 @@ fn main() { cfg.define(&flag, None); } + if tracked_env_var_os("LLVM_ENZYME").is_some() { + cfg.define("ENZYME", None); + } + if tracked_env_var_os("LLVM_RUSTLLVM").is_some() { cfg.define("LLVM_RUSTLLVM", None); } |
