CONFIG: handle openmp on Darwin (#1656)

- requires -Xpreprocessor
- uses 'libomp' (no 'libgomp' link)
This commit is contained in:
Mark Olesen
2020-04-09 11:16:23 +02:00
parent 86e78ac3c1
commit 04b5291c55
7 changed files with 38 additions and 12 deletions

View File

@ -0,0 +1,5 @@
# Flags for compiling/linking openmp
# The USE_OMP is for OpenFOAM-specific use (general use is _OPENMP)
COMP_OPENMP = -DUSE_OMP -fopenmp
LINK_OPENMP = -lomp