We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8cb980 commit fe7b428Copy full SHA for fe7b428
CMakeLists.txt
@@ -53,7 +53,12 @@ if(BUILD_INDEX64)
53
set(LAPACKELIB "lapacke64")
54
set(TMGLIB "tmglib64")
55
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWeirdNEC -DLAPACK_ILP64 -DHAVE_LAPACK_CONFIG_H")
56
- set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-integer-8")
+
57
+ if(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
58
+ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -default64")
59
+ else()
60
+ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-integer-8")
61
+ endif()
62
else()
63
set(BLASLIB "blas")
64
set(CBLASLIB "cblas")
0 commit comments