mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: handle openmp on Darwin (#1656)
- requires -Xpreprocessor - uses 'libomp' (no 'libgomp' link)
This commit is contained in:
8
wmake/rules/General/Clang/openmp-gomp
Normal file
8
wmake/rules/General/Clang/openmp-gomp
Normal file
@ -0,0 +1,8 @@
|
||||
# Flags for compiling/linking openmp
|
||||
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
|
||||
# -
|
||||
# Clang provides 'omp' and a link for 'gomp'.
|
||||
# With 'gomp' we can also use system libs.
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -fopenmp
|
||||
LINK_OPENMP = -lgomp
|
||||
Reference in New Issue
Block a user