CONFIG: update Fujitsu rules (#1671)

- openmp using the libfjomp

- fastmath as per the ArmClang compiler
This commit is contained in:
Mark Olesen 2020-06-22 16:27:17 +02:00
parent 78fe186727
commit 01f8ea9dd5
3 changed files with 12 additions and 3 deletions

View File

@ -1,2 +1,2 @@
c++DBUG =
c++OPT = -O3
c++OPT = -ffp-contract=fast -ffast-math -O3 -funsafe-math-optimizations

View File

@ -1,2 +1,2 @@
cDBUG =
cOPT = -O3
cOPT = -ffp-contract=fast -ffast-math -O3

View File

@ -3,7 +3,16 @@ CPP = cpp -traditional-cpp $(GFLAGS)
PROJECT_LIBS = -l$(WM_PROJECT) -ldl
include $(GENERAL_RULES)/standard
include $(GENERAL_RULES)/Clang/openmp
## include $(GENERAL_RULES)/Clang/openmp
# Fujitsu-specific
# ----
COMP_OPENMP = -DUSE_OMP -fopenmp
LINK_OPENMP = -lfjomp
# ----
# Or disable
# include $(GENERAL_RULES)/no-openmp
# ----
include $(DEFAULT_RULES)/c
include $(DEFAULT_RULES)/c++