Loading CMakeLists.txt +5 −0 Original line number Diff line number Diff line Loading @@ -19,10 +19,15 @@ MESSAGE (STATUS "MPI_C_COMPILER ${MPI_C_COMPILER}") MESSAGE (STATUS "MPI_Fortran_COMPILER ${MPI_Fortran_COMPILER}") if ("${MPI_C_COMPILER}" STREQUAL "MPI_C_COMPILER-NOTFOUND") MESSAGE (STATUS "NO COMPILE WITH ${SPACK_CC}") set(CMAKE_C_COMPILER "${SPACK_CC}") else() MESSAGE (STATUS "YES COMPILE WITH ${SPACK_CC}") set(CMAKE_C_COMPILER "${MPI_C_COMPILER}") endif() MESSAGE (STATUS "COMPILE WITH CMAKE_C_COMPILER ${CMAKE_C_COMPILER}") if ("${MPI_CXX_COMPILER}" STREQUAL "MPI_CXX_COMPILER-NOTFOUND") set(CMAKE_C_COMPILER "${SPACK_CXX}") else() Loading Loading
CMakeLists.txt +5 −0 Original line number Diff line number Diff line Loading @@ -19,10 +19,15 @@ MESSAGE (STATUS "MPI_C_COMPILER ${MPI_C_COMPILER}") MESSAGE (STATUS "MPI_Fortran_COMPILER ${MPI_Fortran_COMPILER}") if ("${MPI_C_COMPILER}" STREQUAL "MPI_C_COMPILER-NOTFOUND") MESSAGE (STATUS "NO COMPILE WITH ${SPACK_CC}") set(CMAKE_C_COMPILER "${SPACK_CC}") else() MESSAGE (STATUS "YES COMPILE WITH ${SPACK_CC}") set(CMAKE_C_COMPILER "${MPI_C_COMPILER}") endif() MESSAGE (STATUS "COMPILE WITH CMAKE_C_COMPILER ${CMAKE_C_COMPILER}") if ("${MPI_CXX_COMPILER}" STREQUAL "MPI_CXX_COMPILER-NOTFOUND") set(CMAKE_C_COMPILER "${SPACK_CXX}") else() Loading