1
Fork 0

move second opt run to lto phase and cleanup code

This commit is contained in:
Manuel Drehwald 2025-02-10 01:35:22 -05:00
parent 21d096184e
commit 1221cff551
7 changed files with 75 additions and 54 deletions

View file

@ -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);
}