From ab4551fe28947c2521859d1be785748ebdf07893 Mon Sep 17 00:00:00 2001 From: David Minton Date: Sun, 11 Feb 2024 12:42:02 -0500 Subject: [PATCH] Updated flags to be ifx compatible --- cmake/Modules/SetFortranFlags.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/SetFortranFlags.cmake b/cmake/Modules/SetFortranFlags.cmake index f42d8d75..585e7e3c 100644 --- a/cmake/Modules/SetFortranFlags.cmake +++ b/cmake/Modules/SetFortranFlags.cmake @@ -671,11 +671,11 @@ IF (CMAKE_BUILD_TYPE STREQUAL "PROFILE") # Enables the optimization reports to be generated IF (WINOPT) SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_PROFILE "${CMAKE_Fortran_FLAGS_RELEASE}" - Fortran "/O2 /Qopt-report:5 /traceback /Z7" # Intel Windows + Fortran "/O2 /Qopt-report:3 /traceback /Z7" # Intel Windows ) ELSE () SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_PROFILE "${CMAKE_Fortran_FLAGS_RELEASE}" - Fortran "-O2 -pg -qopt-report=5 -traceback -p -g3" # Intel + Fortran "-O2 -pg -qopt-report=3 -traceback -p -g3" # Intel ) ENDIF () ELSEIF (COMPILER_OPTIONS STREQUAL "GNU")