diff --git a/umfpack/src/amd/CMakeLists.txt b/umfpack/src/amd/CMakeLists.txt index 6ba009d685..952eff6e2c 100644 --- a/umfpack/src/amd/CMakeLists.txt +++ b/umfpack/src/amd/CMakeLists.txt @@ -55,6 +55,8 @@ FOREACH(outfileName ${UMFPACK_AMD_CPP_SOURCES}) OUTPUT ${outfileName} COMMAND ${CMAKE_C_COMPILER} ARGS ${UMFPACK_AMD_INCLUDES} ${flags} ${CMAKE_CURRENT_SOURCE_DIR}/${infileName} > ${outfileName} + COMMAND sed # cray workaround + ARGS -i 's/__fsid_t/__fsid_t_/g' ${outfileName} # cray workaround DEPENDS ${infileName} ) diff --git a/umfpack/src/umfpack/CMakeLists.txt b/umfpack/src/umfpack/CMakeLists.txt index 78873cd8e3..9b064125bd 100644 --- a/umfpack/src/umfpack/CMakeLists.txt +++ b/umfpack/src/umfpack/CMakeLists.txt @@ -451,6 +451,8 @@ FOREACH(outfileName ${UMFPACK_CPP_SOURCES}) OUTPUT ${outfileName} COMMAND ${CMAKE_C_COMPILER} ARGS ${UMFPACK_INCLUDES} ${flags} ${CMAKE_CURRENT_SOURCE_DIR}/${infileName} > ${outfileName} + COMMAND sed # cray workaround + ARGS -i 's/__fsid_t/__fsid_t_/g' ${outfileName} # cray workaround DEPENDS ${infileName} )