File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1648,12 +1648,12 @@ impl Step for Assemble {
1648
1648
} ;
1649
1649
1650
1650
if let Some ( enzyme_install) = enzyme_install {
1651
- let src_lib = enzyme_install. join ( "build/Enzyme/LLVMEnzyme -17.so" ) ;
1651
+ let src_lib = enzyme_install. join ( "build/Enzyme/libEnzyme -17.so" ) ;
1652
1652
1653
1653
let libdir = builder. sysroot_libdir ( build_compiler, build_compiler. host ) ;
1654
1654
let target_libdir = builder. sysroot_libdir ( target_compiler, target_compiler. host ) ;
1655
- let dst_lib = libdir. join ( "libLLVMEnzyme -17.so" ) ;
1656
- let target_dst_lib = target_libdir. join ( "libLLVMEnzyme -17.so" ) ;
1655
+ let dst_lib = libdir. join ( "libEnzyme -17.so" ) ;
1656
+ let target_dst_lib = target_libdir. join ( "libEnzyme -17.so" ) ;
1657
1657
builder. copy ( & src_lib, & dst_lib) ;
1658
1658
builder. copy ( & src_lib, & target_dst_lib) ;
1659
1659
}
Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ impl Step for Enzyme {
894
894
. profile ( profile)
895
895
. env ( "LLVM_CONFIG_REAL" , & llvm_config)
896
896
. define ( "LLVM_ENABLE_ASSERTIONS" , "ON" )
897
- . define ( "ENZYME_EXTERNAL_SHARED_LIB" , "OFF " )
897
+ . define ( "ENZYME_EXTERNAL_SHARED_LIB" , "ON " )
898
898
. define ( "LLVM_DIR" , & llvm_cmake_dir) ;
899
899
900
900
cfg. build ( ) ;
Original file line number Diff line number Diff line change @@ -1419,7 +1419,7 @@ impl<'a> Builder<'a> {
1419
1419
// https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20link.20new.20library.20into.20stage1.2Frustc
1420
1420
if self . config . llvm_enzyme {
1421
1421
rustflags. arg ( "-l" ) ;
1422
- rustflags. arg ( "LLVMEnzyme -17" ) ;
1422
+ rustflags. arg ( "Enzyme -17" ) ;
1423
1423
}
1424
1424
1425
1425
let use_new_symbol_mangling = match self . config . rust_new_symbol_mangling {
You can’t perform that action at this time.
0 commit comments