We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a758efe commit 5f74d4eCopy full SHA for 5f74d4e
clang/test/Tooling/lit.local.cfg
@@ -1,4 +1,4 @@
1
-import shutil
+import lit.util
2
3
if not config.root.clang_staticanalyzer:
4
config.unsupported = True
@@ -10,5 +10,5 @@ if config.spirv_tools_tests:
10
config.substitutions.append(("spirv-as", os.path.join(config.llvm_tools_dir, "spirv-as")))
11
config.substitutions.append(("spirv-link", os.path.join(config.llvm_tools_dir, "spirv-link")))
12
13
-if shutil.which("llvm-spirv"):
+if lit.util.which("llvm-spirv"):
14
config.available_features.add("llvm-spirv")
0 commit comments