Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Aug 2, 2024
1 parent 7f472af commit 7075807
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1648,12 +1648,12 @@ impl Step for Assemble {
};

if let Some(enzyme_install) = enzyme_install {
let src_lib = enzyme_install.join("build/Enzyme/LLVMEnzyme-17.so");
let src_lib = enzyme_install.join("build/Enzyme/libEnzyme-17.so");

let libdir = builder.sysroot_libdir(build_compiler, build_compiler.host);
let target_libdir = builder.sysroot_libdir(target_compiler, target_compiler.host);
let dst_lib = libdir.join("libLLVMEnzyme-17.so");
let target_dst_lib = target_libdir.join("libLLVMEnzyme-17.so");
let dst_lib = libdir.join("libEnzyme-17.so");
let target_dst_lib = target_libdir.join("libEnzyme-17.so");
builder.copy(&src_lib, &dst_lib);
builder.copy(&src_lib, &target_dst_lib);
}
Expand Down

0 comments on commit 7075807

Please sign in to comment.