[all-commits] [llvm/llvm-project] bddf24: [Flang] Add omp_lib dependency to check-flang (#13...
Michael Kruse via All-commits
all-commits at lists.llvm.org
Fri Mar 14 01:24:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bddf24ddbdb2220949d242664fa0879d4475b07e
https://github.com/llvm/llvm-project/commit/bddf24ddbdb2220949d242664fa0879d4475b07e
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2025-03-14 (Fri, 14 Mar 2025)
Changed paths:
M flang/test/CMakeLists.txt
M flang/tools/f18/CMakeLists.txt
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[Flang] Add omp_lib dependency to check-flang (#130975)
With `LLVM_ENABLE_RUNTIMES=openmp`, flang enables the OpenMP regression
tests, but `check-flang` was not ensuring that the OpenMP requirements
are built first. Fix by adding a `libomp-mod` to `flang-test-depends`.
Adding `libomp-mod` to extra_targets is necessary because there is no
target from openmp/ that is reachable from the parent
bootstrapping-build. `ninja openmp` fails because openmp/ has no
`openmp` target. `check-openmp` would also run the OpenMP tests and does
not even build `omp_lib.mod`. `runtimes` would build all the runtimes,
not just OpenMP.
Also fix the misleading CMake configure status messages that suggest the
only way to build omp_lib.mod/.h is `LLVM_ENABLE_PROJECTS=openmp`.
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