Skip to content

Commit

Permalink
change Intel optimization level
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfonba committed Feb 13, 2024
1 parent d7815dc commit 1465f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Flang")
$<$<COMPILE_LANGUAGE:Fortran>:-fdefault-real-8>
)
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-free>)
add_compile_options($<$<COMPILE_LANGUAGE:Fortran>:-O2>)

if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(-g -Og -traceback -debug)
Expand Down

0 comments on commit 1465f01

Please sign in to comment.