Add OpenMP include directories to compiler and preprocessor flags#757
Open
mmuetzel wants to merge 1 commit intoElmerCSC:develfrom
Open
Add OpenMP include directories to compiler and preprocessor flags#757mmuetzel wants to merge 1 commit intoElmerCSC:develfrom
mmuetzel wants to merge 1 commit intoElmerCSC:develfrom
Conversation
Some implementations of OpenMP (e.g., LLVM libomp) require that the directory where the `omp_lib` module is installed is explicitly passed as a compiler flag. Ideally that should be done by linking all CMake targets that use OpenMP with the respective OpenMP CMake target. For the time being, add the directory manually (to all targets).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some implementations of OpenMP (e.g., LLVM libomp) require that the directory where the
omp_libmodule is installed is explicitly passed as a compiler/preprocessor flag.Ideally that should be done by linking all CMake targets that use OpenMP with the respective OpenMP CMake target.
For the time being, add the directory manually (to all targets).