SuiteSparse CMakeLists conditional on Cray
Created by: jwillenbring
The following issue was reported:
In order to build with the Cray compilers, we have to modify Trilinos/packages/common/auxiliarySoftware/SuiteSparse/src/CMakeLists.txt as follows. ...
@@ -45,7 +45,9 @@ SET_SOURCE_FILES_PROPERTIES(${SOURCES}, PROPERTIES LANGUAGE C)
- IF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
- IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "cray")
-
#No flags
- ELSEIF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) IF(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.2) SET_SOURCE_FILES_PROPERTIES(${SOURCES}, PROPERTIES
@krcb can you review, test, and apply this change? Based on the wording of the message, it seems the change has been tested on Cray already. CC: @bmpersc