File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 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 {
16481648 } ;
16491649
16501650 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" ) ;
16521652
16531653 let libdir = builder. sysroot_libdir ( build_compiler, build_compiler. host ) ;
16541654 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" ) ;
16571657 builder. copy ( & src_lib, & dst_lib) ;
16581658 builder. copy ( & src_lib, & target_dst_lib) ;
16591659 }
Original file line number Diff line number Diff line change @@ -894,7 +894,7 @@ impl Step for Enzyme {
894894 . profile ( profile)
895895 . env ( "LLVM_CONFIG_REAL" , & llvm_config)
896896 . define ( "LLVM_ENABLE_ASSERTIONS" , "ON" )
897- . define ( "ENZYME_EXTERNAL_SHARED_LIB" , "OFF " )
897+ . define ( "ENZYME_EXTERNAL_SHARED_LIB" , "ON " )
898898 . define ( "LLVM_DIR" , & llvm_cmake_dir) ;
899899
900900 cfg. build ( ) ;
Original file line number Diff line number Diff line change @@ -1419,7 +1419,7 @@ impl<'a> Builder<'a> {
14191419 // https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/.E2.9C.94.20link.20new.20library.20into.20stage1.2Frustc
14201420 if self . config . llvm_enzyme {
14211421 rustflags. arg ( "-l" ) ;
1422- rustflags. arg ( "LLVMEnzyme -17" ) ;
1422+ rustflags. arg ( "Enzyme -17" ) ;
14231423 }
14241424
14251425 let use_new_symbol_mangling = match self . config . rust_new_symbol_mangling {
You can’t perform that action at this time.
0 commit comments