Skip to content

Commit

Permalink
Remove -xHOST and fix compiler check
Browse files Browse the repository at this point in the history
  • Loading branch information
kgerheiser authored Aug 27, 2020
1 parent 036b51d commit 0dda594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS
"-g -traceback -free -xHOST -convert big_endian -assume byterecl ${CMAKE_Fortran_FLAGS}")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$")
"-g -traceback -free -convert big_endian -assume byterecl ${CMAKE_Fortran_FLAGS}")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace -fconvert=big-endian -ffree-form ${CMAKE_Fortran_FLAGS}")
set(CMAKE_Fortran_RELEASE "-O2")
endif()
Expand Down

0 comments on commit 0dda594

Please sign in to comment.