[Openmp-commits] [llvm] [openmp] [Runtimes] Drop 'flang' from runtimes configure dependency (PR #198205)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jun 3 08:51:40 PDT 2026
================
@@ -147,6 +149,11 @@ else ()
return ()
endif ()
+# In a bootstrapping build the Fortran compiler may not have been built yet.
+# Create a placeholder so CMake's enable_language() existence check passes.
+if (CMAKE_Fortran_COMPILER_FORCED AND NOT EXISTS "${CMAKE_Fortran_COMPILER}")
+ file(TOUCH "${CMAKE_Fortran_COMPILER}")
----------------
jhuber6 wrote:
I added execution priviledges... But it will probably just fail because it's a text file. I am not actually sure if this is a proper way to fix it, but I just spoofed the build time to be some other epoch so it hopefully lists as stale.
https://github.com/llvm/llvm-project/pull/198205
More information about the Openmp-commits
mailing list