Skip to content

Commit

Permalink
modify optimization level in gcc.cmake for ubuntu-22.04 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ido committed Aug 20, 2024
1 parent cb049b3 commit ad4b8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/gcc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set(CMAKE_C_COMPILER "gcc" CACHE STRING "" FORCE)
set(CMAKE_CXX_COMPILER "g++" CACHE STRING "" FORCE)
set(CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall -Wformat -Werror=format-security")
set(CMAKE_C_FLAGS_RELEASE "-O3 -Wno-unknown-pragmas ")
set(CMAKE_C_FLAGS_RELEASE "-O2 -Wno-unknown-pragmas ")
set(CMAKE_Fortran_COMPILER "gfortran" CACHE STRING "" FORCE)

0 comments on commit ad4b8dc

Please sign in to comment.