File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
125
125
"needs-dlltool" ,
126
126
"needs-dynamic-linking" ,
127
127
"needs-enzyme" ,
128
+ "needs-enzyme-disabled" ,
128
129
"needs-force-clang-based-tests" ,
129
130
"needs-git-hash" ,
130
131
"needs-llvm-components" ,
Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ pub(super) fn handle_needs(
84
84
condition : config. has_enzyme ,
85
85
ignore_reason : "ignored when LLVM Enzyme is disabled" ,
86
86
} ,
87
+ Need {
88
+ name : "needs-enzyme-disabled" ,
89
+ condition : !config. has_enzyme ,
90
+ ignore_reason : "ignored when LLVM Enzyme is enabled" ,
91
+ } ,
87
92
Need {
88
93
name : "needs-run-enabled" ,
89
94
condition : config. run_enabled ( ) ,
You can’t perform that action at this time.
0 commit comments