From e77cfcf32c0ff110c621430499366137e9e4f9af Mon Sep 17 00:00:00 2001 From: "Miller, Samuel" Date: Tue, 9 Feb 2021 15:51:49 +0000 Subject: [PATCH] Address/thread sanitizer compiler flag cleanup (mistakenly included optimization reports) --- cmake/SetFortranFlags.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/SetFortranFlags.cmake b/cmake/SetFortranFlags.cmake index 609c5e5..ff84ad5 100755 --- a/cmake/SetFortranFlags.cmake +++ b/cmake/SetFortranFlags.cmake @@ -53,11 +53,11 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU) set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -ftree-vectorize -funroll-loops -finline-functions -march=native -mtune=native") if(USE_ASAN) - set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -fsanitize=leak -fsanitize=address -fno-omit-frame-pointer -fopt-info-all") + set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -fsanitize=leak -fsanitize=address -fno-omit-frame-pointer") endif() if(USE_TSAN) - set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fsanitize=thread -fno-omit-frame-pointer -fopt-info-all") + set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fsanitize=thread -fno-omit-frame-pointer") endif() if(OUTPUT_OPTIMIZATION_REPORTS)