-
Notifications
You must be signed in to change notification settings - Fork 373
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
Allow passing OpenMP root directory to -Dwith-openmp #3299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks for this contribution.
@JoshuaBoettcher I have now added you as a reviewer and am looking forward to your comments. |
Pull request automatically marked stale! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
This PR brings the handling of
-Dwith-openmp
in line with MPI and other libraries according to modern CMake practice, so that the root directory of thelibomp
installation can be passed as an argument. In existing code, and argument different fromON
orOFF
is actually handled incorrectly. Also update related variable names to include lowercase letters, as is modern CMake practice, see CMP0144.Furthermore, in the cmake summary, results for threading and MPI are now reported next to each other early in the report.