[all-commits] [llvm/llvm-project] 5b6236: [Runtimes] Drop 'flang' from runtimes configure de...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jun 8 06:47:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b6236c37658b2b1341b20e9b2463d075745d108
https://github.com/llvm/llvm-project/commit/5b6236c37658b2b1341b20e9b2463d075745d108
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-06-08 (Mon, 08 Jun 2026)
Changed paths:
M flang-rt/lib/runtime/CMakeLists.txt
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/runtimes/CMakeLists.txt
M openmp/module/CMakeLists.txt
M runtimes/cmake/config-Fortran.cmake
Log Message:
-----------
[Runtimes] Drop 'flang' from runtimes configure dependency (#198205)
Summary:
This PR cuts `flang` out of the core runtimes configure dependency. We
will need the runtimes infrastructure to handle `flang` module
generation, but this dependency poisons the entire dependency stack.
`flang` and `mlir` are by far the heavily parts of the LLVM stack and
for distribution we want to only build it when absolutely necessary,
which as of now is only to install flang module files.
The approach here is to simply remove the `flang` target from the core
dependency tree, but intead configure it for the top-level `module`
targets which are part of `all`. To make this work we need to pass
COMPILER_WORKS and set up a dummy location so that configuration passes.
it's a little backdoor, but this is an extremely important quality of
life improvement for LLVM distribution support.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list