File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ changelog-seen = 2
66
66
#release-debuginfo = false
67
67
68
68
# Indicates whether we should build the LLVM Plugin Enzyme
69
- enzyme = true
69
+ # enzyme = true
70
70
71
71
# Indicates whether the LLVM assertions are enabled or not
72
72
#assertions = false
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ def v(*args):
73
73
o ("optimize" , "rust.optimize" , "build optimized rust code" )
74
74
o ("optimize-llvm" , "llvm.optimize" , "build optimized LLVM" )
75
75
o ("llvm-assertions" , "llvm.assertions" , "build LLVM with assertions" )
76
+ o ("llvm-enzyme" , "llvm.enzyme" , "build LLVM with Enzyme" )
76
77
o ("llvm-plugins" , "llvm.plugins" , "build LLVM with plugin interface" )
77
78
o ("debug-assertions" , "rust.debug-assertions" , "build with debugging assertions" )
78
79
o ("debug-assertions-std" , "rust.debug-assertions-std" , "build the standard library with debugging assertions" )
Original file line number Diff line number Diff line change @@ -377,7 +377,6 @@ impl Step for Llvm {
377
377
cfg. build ( ) ;
378
378
379
379
if builder. config . llvm_enzyme {
380
-
381
380
let executable = env:: var ( "CMAKE" ) . unwrap_or ( "cmake" . to_owned ( ) ) ;
382
381
let mut cmd = Command :: new ( & executable) ;
383
382
let enzyme_build = PathBuf :: from ( "src" ) . join ( "tools" ) . join ( "enzyme" ) . join ( "enzyme" ) . join ( "build" ) ;
@@ -396,6 +395,9 @@ impl Step for Llvm {
396
395
cmd. arg ( "-DENZYME_EXTERNAL_SHARED_LIB=ON" ) ;
397
396
cmd. arg ( "-DLLVM_DIR=" . to_owned ( ) + llvm_build. to_str ( ) . unwrap ( ) ) ;
398
397
run_and_printerror ( & mut cmd) ;
398
+ //panic!("BAAAAAAAR");
399
+ } else {
400
+ panic ! ( "FOOOOOOOOOOO" ) ;
399
401
}
400
402
401
403
@@ -407,7 +409,7 @@ impl Step for Llvm {
407
409
}
408
410
409
411
fn run_and_printerror ( command : & mut Command ) {
410
- println ! ( "Running: `{:?}`" , command) ;
412
+ dbg ! ( "Running: `{:?}`" , & command) ;
411
413
match command. status ( ) {
412
414
Ok ( status) => {
413
415
if !status. success ( ) {
You can’t perform that action at this time.
0 commit comments