- largely as per patch from Jong-Gwan (Jason) Do NB: the intel-one setup adds in paths for intelmpi. Its mpicc version does not harmonize with the OpenFOAM system openmpi setup (using mpicc --showme:link). Needs adjustment, or use intelmpi instead. - update name mappings for newer gcc, clang versions
19 lines
614 B
Plaintext
19 lines
614 B
Plaintext
#------------------------------------------------------------------------------
|
|
include $(GENERAL_RULES)/Icc/c++
|
|
|
|
c++ARCH = -pthread -fp-trap=common -fp-model precise
|
|
|
|
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
|
|
|
c++FLAGS = $(c++ARCH) $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@
|
|
cxxtoo = $(Ctoo)
|
|
cctoo = $(Ctoo)
|
|
cpptoo = $(Ctoo)
|
|
|
|
include $(GENERAL_RULES)/Icc/link-c++
|
|
|
|
#legacy: LINK_LIBS += -L$(IA64ROOT)/lib
|
|
#------------------------------------------------------------------------------
|