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:
Mark Olesen
2017-10-23 09:38:43 +02:00
parent 953bd5bdca
commit e1167d9592
30 changed files with 142 additions and 12 deletions

View File

@ -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++

View File

@ -0,0 +1,4 @@
# Flags for compiling/linking openmp
COMP_OPENMP = -DUSE_OMP -qopenmp
LINK_OPENMP = -liomp5