Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmake-library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cmake
cmake-library
Commits
44f67614
There was an error fetching the commit references. Please try again later.
Commit
44f67614
authored
3 years ago
by
Jan Möbius
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup OpenMP detection
parent
d0220925
No related branches found
No related tags found
No related merge requests found
Pipeline
#20165
failed
3 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
VCI/VCICommon.cmake
+12
-17
12 additions, 17 deletions
VCI/VCICommon.cmake
with
12 additions
and
17 deletions
VCI/VCICommon.cmake
+
12
−
17
View file @
44f67614
...
...
@@ -117,10 +117,7 @@ endmacro ()
# test for OpenMP
macro
(
vci_openmp
)
if
(
NOT OPENMP_NOTFOUND
)
# Set off OpenMP on Darwin architectures
# since it causes crashes sometimes
# if(NOT APPLE)
if
(
NOT OPENMP_FOUND
)
find_package
(
OpenMP
)
if
(
OPENMP_FOUND
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
OpenMP_CXX_FLAGS
}
"
)
...
...
@@ -130,13 +127,11 @@ macro (vci_openmp)
# export includes and libraries for usage within openflipper plugins
set
(
OPENMP_INCLUDE_DIRS
${
OpenMP_CXX_INCLUDE_DIR
}
)
set
(
OPENMP_LIBRARIES
${
OpenMP_libomp_LIBRARY
}
)
# else ()
# set (OPENMP_NOTFOUND 1)
# endif ()
endif
()
endif
()
endmacro
()
# append all files with extension "ext" in the "dirs" directories to "ret"
# excludes all files starting with a '.' (dot)
macro
(
vci_append_files ret ext
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment