Skip to content

Commit 7c74fc0

Browse files
authored
use -sinteger64 flag for 64-bit integers
1 parent fe7b428 commit 7c74fc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ if(BUILD_INDEX64)
5353
set(LAPACKELIB "lapacke64")
5454
set(TMGLIB "tmglib64")
5555
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWeirdNEC -DLAPACK_ILP64 -DHAVE_LAPACK_CONFIG_H")
56-
5756
if(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
58-
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -default64")
57+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -sinteger64")
5958
else()
6059
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-integer-8")
6160
endif()

0 commit comments

Comments
 (0)