From ad4b8dcb98886385f0870a6842c84b8255f81a7c Mon Sep 17 00:00:00 2001 From: "k.ido" <13773226+k-ido@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:09:36 +0900 Subject: [PATCH] modify optimization level in gcc.cmake for ubuntu-22.04 workflow --- config/gcc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gcc.cmake b/config/gcc.cmake index 751912d7..2d7b08df 100644 --- a/config/gcc.cmake +++ b/config/gcc.cmake @@ -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)