Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Rearranged because -u is a valid option for gfortran.
  • Loading branch information
daminton committed Jul 31, 2023
1 parent b3bf286 commit 4d3211b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/Modules/SetFortranFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,10 @@ SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_TESTING "${CMAKE_Fortran_FLAGS_DEBUG}"

# Unroll loops
SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE}"
Fortran "-unroll" # Intel
Fortran "-funroll-loops" # GNU
"-unroll" # Intel
"/unroll" # Intel Windows
"-funroll-loops" # GNU

)

# Inline functions
Expand Down

0 comments on commit 4d3211b

Please sign in to comment.