mirror-llvm-project/openmp/module
Joseph Huber 5b6236c376
[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.
2026-06-08 08:47:04 -05:00
..
CMakeLists.txt [Runtimes] Drop 'flang' from runtimes configure dependency (#198205) 2026-06-08 08:47:04 -05:00
omp_lib.F90.var [Flang][OpenMP] Validate omp_initial_device omp_invalid_device as device IDs (#193669) 2026-04-28 21:31:04 +05:30
omp_lib.h.var [Flang][OpenMP] Validate omp_initial_device omp_invalid_device as device IDs (#193669) 2026-04-28 21:31:04 +05:30