Skip to content

Commit 63c2f05

Browse files
[SYCLomatic][BUG][LIT] Modified llvm-lit framework to accept case insensitive value for BUILD_LIT (#2744)
1 parent 3fdc31a commit 63c2f05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clang/test/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def calculate_arch_features(arch_string):
349349
config.available_features.add("llvm-driver")
350350

351351
#SYCLomatic Code
352-
if "BUILD_LIT" in os.environ and os.environ["BUILD_LIT"] == 'TRUE':
352+
if os.getenv("BUILD_LIT", "").lower() == 'true':
353353
config.available_features.add("build_lit")
354354
#End SYCLomatic
355355

0 commit comments

Comments
 (0)