diff --git a/CMakeLists.txt b/CMakeLists.txt index de7f1c7..2880d74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,13 +19,13 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) endif() if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU") - add_compile_options("$<$:-march=native;-pipe;-fno-tree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always>") + add_compile_options("$<$:-pipe;-fno-tree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always>") add_compile_options("$<$:-Og;-pedantic;-fcheck=all;-W;-Wall;-Wno-unused-dummy-argument>") endif() if(CMAKE_Fortran_COMPILER_ID MATCHES "Intel") - add_compile_options("$<$:-xHost;-fp-model=source;-heap-arrays;-ip;-unroll-aggressive;-simd;-qopt-prefetch;-use-intel-optimized-headers;-finline-limit=1000;-fno-omit-frame-pointer>") + add_compile_options("$<$:-fp-model=source;-heap-arrays;-ip;-unroll-aggressive;-simd;-qopt-prefetch;-use-intel-optimized-headers;-finline-limit=1000;-fno-omit-frame-pointer>") add_compile_options("$<$:-O>") - add_compile_options(-assume byterecl) + add_compile_options("-assume byterecl") endif() if(CMAKE_Fortran_COMPILER_ID MATCHES "PGI") add_compile_options("$<$:-fastsse;-O4;-Mvect=simd;-Minline=maxsize:1000>")