Skip to content

Commit 9551a31

Browse files
committed
Add proper ILP Flags for xlf.
1 parent e5dc8d0 commit 9551a31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMAKE/CheckLAPACKCompilerFlags.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if ( FORTRAN_ILP )
2222
else ()
2323
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -integer-size 64")
2424
endif()
25+
elseif( (CMAKE_Fortran_COMPILER_ID STREQUAL "VisualAge" ) OR # CMake 2.6
26+
(CMAKE_Fortran_COMPILER_ID STREQUAL "XL" ) ) # CMake 2.8
27+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qintsize=8")
2528
else()
2629
set(CPE_ENV $ENV{PE_ENV})
2730
if(CPE_ENV STREQUAL "CRAY")

0 commit comments

Comments
 (0)