[flang-commits] [flang] [llvm] [flang/flang-rt] Add -isysroot flag only to tests really requiring (PR #152914)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Mon Aug 11 07:18:13 PDT 2025
================
@@ -172,6 +172,13 @@
else:
llvm_config.add_tool_substitutions(tools, config.llvm_tools_dir)
+llvm_config.use_clang(required=False)
+
+# Include path for C headers that define Flang's Fortran ABI.
+config.substitutions.append(
+ ("%include", os.path.join(config.flang_source_dir, "include"))
+)
----------------
tarunprabhu wrote:
I assume that this is for `ISO_fortran_binding.h`. Does this get copied into the build directory during compilation? If so, it may be better to include the file from the build directory instead of the source directory.
https://github.com/llvm/llvm-project/pull/152914
More information about the flang-commits
mailing list