[flang-commits] [flang] [llvm] [Flang] Remove FLANG_INCLUDE_RUNTIME (PR #124126)

David Truby via flang-commits flang-commits at lists.llvm.org
Thu May 1 06:39:07 PDT 2025


DavidTruby wrote:

This patch seems to have removed the behaviour that flang-rt is added to LLVM_ENABLE_RUNTIMES automatically which has broken all of our internal builds. My read of the commit message, and the patch, is that this behaviour hasn't been intentionally removed?
I have a cmake line like:
```
cmake -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_CCACHE_BUILD=On -DLLVM_ENABLE_PROJECTS="clang;flang;mlir" -DLLVM_ENABLE_RUNTIMES=openmp  -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On ../llvm
```
and I am not getting flang-rt. I also see:
```
-- Not building Flang-RT. For a usable Fortran toolchain, either set FLANG_ENABLE_FLANG_RT=ON, add LLVM_ENABLE_RUNTIMES=flang-rt, or compile a standalone Flang-RT.
```

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


More information about the flang-commits mailing list