From 6294978f1d07087cca240b8ab270a006f724e1bc Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sat, 29 Dec 2018 18:50:22 +0100 Subject: [PATCH] after milestone2 tag, switch back to O3 for further investigation and work --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 063e8c1d5..b7a37854c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ endif() # enable warnings and disallow non-standard language set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers") set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") -set(CMAKE_CXX_FLAGS_RELEASE "-O0") # should be -O3 but bug 118 prevents this right now +set(CMAKE_CXX_FLAGS_RELEASE "-O3") # clang produces a lot of unecessary warnings without this: add_compile_options("$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>") -- GitLab