Icc support: added floating-point exception trapping and accurate maths

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1432
This commit is contained in:
Henry 2015-01-28 09:18:47 +00:00
parent 5f464d1169
commit 656dc54f71
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@ SUFFIXES += .C
c++WARN = -wd327,525,654,819,1125,1476,1505,1572
CC = icpc -std=c++0x
CC = icpc -std=c++0x -fp-trap=common -fp-model precise
include $(RULES)/c++$(WM_COMPILE_OPTION)

View File

@ -2,8 +2,7 @@ SUFFIXES += .C
c++WARN = -wd327,525,654,819,1125,1476,1505,1572
#CC = icpc -gcc-version=400
CC = icpc -std=c++0x
CC = icpc -std=c++0x -fp-trap=common -fp-model precise
include $(RULES)/c++$(WM_COMPILE_OPTION)
@ -16,7 +15,6 @@ cxxtoo = $(Ctoo)
cctoo = $(Ctoo)
cpptoo = $(Ctoo)
#LINK_LIBS = $(c++DBUG) -lstdc++
LINK_LIBS = $(c++DBUG) -L$(IA32ROOT)/lib
LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed