Commit 01f8ea9d authored by Mark Olesen's avatar Mark Olesen
Browse files

CONFIG: update Fujitsu rules (#1671)

- openmp using the libfjomp

- fastmath as per the ArmClang compiler
parent 78fe1867
c++DBUG = c++DBUG =
c++OPT = -O3 c++OPT = -ffp-contract=fast -ffast-math -O3 -funsafe-math-optimizations
cDBUG = cDBUG =
cOPT = -O3 cOPT = -ffp-contract=fast -ffast-math -O3
...@@ -3,7 +3,16 @@ CPP = cpp -traditional-cpp $(GFLAGS) ...@@ -3,7 +3,16 @@ CPP = cpp -traditional-cpp $(GFLAGS)
PROJECT_LIBS = -l$(WM_PROJECT) -ldl PROJECT_LIBS = -l$(WM_PROJECT) -ldl
include $(GENERAL_RULES)/standard 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
include $(DEFAULT_RULES)/c++ include $(DEFAULT_RULES)/c++
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment