mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: provide openmp compile and link flags.
- the USE_OMP preprocessor symbol is also defined with the openmp compile flag to allow conditional compilation of openmp-specific code.
This commit is contained in:
@ -4,6 +4,7 @@ GLIBS =
|
||||
|
||||
include $(GENERAL_RULES)/standard
|
||||
|
||||
include $(DEFAULT_RULES)/openmp
|
||||
include $(DEFAULT_RULES)/X
|
||||
include $(DEFAULT_RULES)/c
|
||||
include $(DEFAULT_RULES)/c++
|
||||
|
||||
4
wmake/rules/linuxIA64Icc/openmp
Normal file
4
wmake/rules/linuxIA64Icc/openmp
Normal file
@ -0,0 +1,4 @@
|
||||
# Flags for compiling/linking openmp
|
||||
|
||||
COMP_OPENMP = -DUSE_OMP -qopenmp
|
||||
LINK_OPENMP = -liomp5
|
||||
Reference in New Issue
Block a user