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

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 07:40:50 PDT 2025


================
@@ -6,10 +6,12 @@ import lit.util
 config.llvm_tools_dir = lit_config.substitute("@LLVM_TOOLS_DIR@")
 config.llvm_shlib_dir = lit_config.substitute(path(r"@SHLIBDIR@"))
 config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
+config.host_triple = "@LLVM_HOST_TRIPLE@"
----------------
Meinersbur wrote:

It is used by `llvm_config.use_clang(required=False)`. But it also has a fallback when not defined. Without e.g. the feature `native` is not defined. Not sure we strictly need it.

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


More information about the flang-commits mailing list