[flang-commits] [flang] [llvm] [flang/flang-rt] Add -isysroot flag only to tests really requiring (PR #152914)

via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 03:18:31 PDT 2025


================
@@ -0,0 +1,13 @@
+from lit.llvm import llvm_config
+
+llvm_config.use_clang(required=False)
+if llvm_config.config.clang:
+    config.available_features.add("clang")
+    clangxx = next((subst for subst in llvm_config.config.substitutions
+        if "clangxx" in subst[0]), None)
+    config.substitutions.append(clangxx)
----------------
parabola94 wrote:

Thank you for pointing it out. I have fixed it.

https://github.com/llvm/llvm-project/pull/152914


More information about the flang-commits mailing list