Skip to content

[OpenMP][NFC] Fix warning for OpenMP standalone build #93463

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

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

jprotze
Copy link
Collaborator

@jprotze jprotze commented May 27, 2024

PR #75125 introduced upward propagation of some OMPT-related CMake variables.
For stand-alone builds this results in a warning that SCOPE_PARENT has no meaning in a top-level directory.

PR llvm#75125 introduced upward propagation of some OMPT-related CMake variables.
For stand-alone builds this results in a warning that SCOPE_PARENT has no
meaning in a top-level directory.
@jprotze jprotze requested a review from jdoerfert May 27, 2024 12:17
@llvmbot llvmbot added openmp:libomp OpenMP host runtime openmp:libomptarget OpenMP offload runtime labels May 27, 2024
@jprotze jprotze merged commit ff77f67 into llvm:main Jun 6, 2024
8 checks passed
jhuber6 pushed a commit that referenced this pull request Jun 7, 2024
Without a value set conditional checks like
if(NOT ${OPENMP_STANDALONE_BUILD})
will not be able to evaluate to true.
Fixes issue introduced from PR #93463, which did not allow the OMPT
variable to be propogated up to offload during a runtimes build.
searlmc1 pushed a commit to ROCm/llvm-project that referenced this pull request Jun 8, 2024
revert:
688ffd0b405] Revert "[OpenMP][NFC] Fix warning for OpenMP standalone build (llvm#93463)"
breaks aomp openmp

Change-Id: I06c26ac45c9e6bd272c2a4539f8d72d835293fca
nekoshirro pushed a commit to nekoshirro/Alchemist-LLVM that referenced this pull request Jun 9, 2024
…4801)

Without a value set conditional checks like
if(NOT ${OPENMP_STANDALONE_BUILD})
will not be able to evaluate to true.
Fixes issue introduced from PR llvm#93463, which did not allow the OMPT
variable to be propogated up to offload during a runtimes build.

Signed-off-by: Hafidz Muzakky <[email protected]>
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