We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fdc31a commit 63c2f05Copy full SHA for 63c2f05
1 file changed
clang/test/lit.cfg.py
@@ -349,7 +349,7 @@ def calculate_arch_features(arch_string):
349
config.available_features.add("llvm-driver")
350
351
#SYCLomatic Code
352
-if "BUILD_LIT" in os.environ and os.environ["BUILD_LIT"] == 'TRUE':
+if os.getenv("BUILD_LIT", "").lower() == 'true':
353
config.available_features.add("build_lit")
354
#End SYCLomatic
355
0 commit comments