Commit d8621f89 authored by Jonathan Perkin's avatar Jonathan Perkin

Fix icc/icpc flags.

parent 38954b52
......@@ -154,9 +154,13 @@ IF(UNIX)
IF(CMAKE_C_COMPILER_ID MATCHES "Intel")
SET(OPT_FLG "-O3 -unroll2 -ip")
SET(DBG_FLG "")
SET(COMMON_CFLAGS "-static-intel -static-libgcc -g -mieee-fp -restrict -no-ftz -no-opt-prefetch")
SET(COMMON_CXXFLAGS "-static-intel -static-libgcc -g -mieee-fp -restrict -no-ftz -no-opt-prefetch")
SET(COMMON_CFLAGS "-static-intel -static-libgcc -g -mp -restrict")
SET(COMMON_CXXFLAGS "${COMMON_CFLAGS} -fno-implicit-templates -fno-exceptions -fno-rtti")
SET(WITH_SSL no)
IF(CMAKE_SYSTEM_PROCESSOR MATCHES "ia64")
SET(COMMON_CFLAGS "${COMMON_CFLAGS} -no-ftz -no-prefetch")
SET(COMMON_CXXFLAGS "${COMMON_CXXFLAGS} -no-ftz -no-prefetch")
ENDIF()
ENDIF()
ENDIF()
......
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