Skip to content

[OpenMP] Add OPENMP_INCLUDE_TESTS #143390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RossBrunton
Copy link
Contributor

This is a cmake variable which, if set to OFF, will disable building of
tests. It defaults to the value of LLVM_INCLUDE_TESTS.

This is a cmake variable which, if set to `OFF`, will disable building of
tests. It defaults to the value of `LLVM_INCLUDE_TESTS`.
@llvmbot llvmbot added openmp:libomp OpenMP host runtime openmp:libomptarget OpenMP offload runtime labels Jun 9, 2025
RossBrunton added a commit to RossBrunton/llvm-project that referenced this pull request Jun 9, 2025
If clang is not being built as part of this build, install headers into
`include` rather than `lib/clang/21/include` (the latter, in clangless
builds, will not be automatically included in search paths).

This, combined with llvm#143390 , allows builds that include OpenMP but not
clang to build successfully.
@jprotze
Copy link
Collaborator

jprotze commented Jun 10, 2025

More specifically, this variable disables configuring of tests. None of the OpenMP tests is built by default build targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openmp:libomp OpenMP host runtime openmp:libomptarget OpenMP offload runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants