Commit 3f5897af authored by Samuel Pitoiset's avatar Samuel Pitoiset

cmake: do not disable -ffast-math with StarPU

parent c290ee67
......@@ -434,14 +434,6 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/CMakeModules/morse/")
#
message( STATUS "SCALFMM_USE_STARPU = ${SCALFMM_USE_STARPU}" )
if( SCALFMM_USE_STARPU )
# No fast math with starpu
if(SCALFMM_CXX_FLAGS)
string(REPLACE "-ffast-math" " " SCALFMM_CXX_FLAGS ${SCALFMM_CXX_FLAGS})
endif()
if(SCALFMM_FLAGS_OPTI_RELEASE)
string(REPLACE "-ffast-math" " " SCALFMM_FLAGS_OPTI_RELEASE ${SCALFMM_FLAGS_OPTI_RELEASE})
endif()
# CUDA could be used with StarPU enabled
option( SCALFMM_USE_CUDA "Set to ON to use CUDA with StarPU" OFF )
message( STATUS "SCALFMM_USE_CUDA = ${SCALFMM_USE_CUDA}" )
......
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