Loading CMakeLists.txt +4 −4 Original line number Diff line number Diff line Loading @@ -19,22 +19,22 @@ 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}") MESSAGE (STATUS "NO COMPILE WITH $ENV{SPACK_CC}") set(CMAKE_C_COMPILER "${SPACK_CC}") else() MESSAGE (STATUS "YES COMPILE WITH ${SPACK_CC}") MESSAGE (STATUS "YES COMPILE WITH $ENV{MPI_C_COMPILER}") 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}") set(CMAKE_C_COMPILER "$ENV{SPACK_CXX}") else() set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}") endif() if ("${MPI_Fortran_COMPILER}" STREQUAL "MPI_Fortran_COMPILER-NOTFOUND") set(CMAKE_Fortran_COMPILER "${SPACK_FC}") set(CMAKE_Fortran_COMPILER "$ENV{SPACK_FC}") else() set(CMAKE_Fortran_COMPILER "${MPI_Fortran_COMPILER}") endif() Loading Loading
CMakeLists.txt +4 −4 Original line number Diff line number Diff line Loading @@ -19,22 +19,22 @@ 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}") MESSAGE (STATUS "NO COMPILE WITH $ENV{SPACK_CC}") set(CMAKE_C_COMPILER "${SPACK_CC}") else() MESSAGE (STATUS "YES COMPILE WITH ${SPACK_CC}") MESSAGE (STATUS "YES COMPILE WITH $ENV{MPI_C_COMPILER}") 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}") set(CMAKE_C_COMPILER "$ENV{SPACK_CXX}") else() set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}") endif() if ("${MPI_Fortran_COMPILER}" STREQUAL "MPI_Fortran_COMPILER-NOTFOUND") set(CMAKE_Fortran_COMPILER "${SPACK_FC}") set(CMAKE_Fortran_COMPILER "$ENV{SPACK_FC}") else() set(CMAKE_Fortran_COMPILER "${MPI_Fortran_COMPILER}") endif() Loading