From 0f25a37b05db224fe16c3c0357c24d89ad9e5cee Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 11 Feb 2020 13:26:38 -0800 Subject: [PATCH] cmake: Remove unused ENABLE_OPTIMIZED option. (#3749) --- CMakeLists.txt | 2 -- cmake/ConfigCompetition.cmake | 2 -- cmake/ConfigDebug.cmake | 2 -- cmake/ConfigProduction.cmake | 2 -- cmake/ConfigTesting.cmake | 2 -- 5 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e5d0cf0e5..1582a3bde 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -120,7 +120,6 @@ cvc4_option(ENABLE_COMP_INC_TRACK cvc4_option(ENABLE_DEBUG_SYMBOLS "Enable debug symbols") cvc4_option(ENABLE_DUMPING "Enable dumping") cvc4_option(ENABLE_MUZZLE "Suppress ALL non-result output") -cvc4_option(ENABLE_OPTIMIZED "Enable optimization") cvc4_option(ENABLE_PROOFS "Enable proof support") cvc4_option(ENABLE_REPLAY "Enable the replay feature") cvc4_option(ENABLE_STATISTICS "Enable statistics") @@ -588,7 +587,6 @@ endif() message("") print_config("GPL :" ENABLE_GPL) print_config("Best configuration :" ENABLE_BEST) -print_config("Optimized :" ENABLE_OPTIMIZED) print_config("Optimization level :" OPTIMIZATION_LEVEL) message("") print_config("Assertions :" ENABLE_ASSERTIONS) diff --git a/cmake/ConfigCompetition.cmake b/cmake/ConfigCompetition.cmake index f40cd46be..6bd846d0c 100644 --- a/cmake/ConfigCompetition.cmake +++ b/cmake/ConfigCompetition.cmake @@ -3,8 +3,6 @@ add_check_c_cxx_flag("-funroll-all-loops") add_check_c_cxx_flag("-fexpensive-optimizations") add_check_c_cxx_flag("-fno-enforce-eh-specs") # OPTLEVEL=9 -# enable_optimized=yes -cvc4_set_option(ENABLE_OPTIMIZED ON) set(OPTIMIZATION_LEVEL 9) # enable_debug_symbols=no cvc4_set_option(ENABLE_DEBUG_SYMBOLS OFF) diff --git a/cmake/ConfigDebug.cmake b/cmake/ConfigDebug.cmake index 9f58d3548..31b142ffc 100644 --- a/cmake/ConfigDebug.cmake +++ b/cmake/ConfigDebug.cmake @@ -1,8 +1,6 @@ add_definitions(-DCVC4_DEBUG) set(CVC4_DEBUG 1) add_check_c_cxx_flag("-fno-inline") -# enable_optimized=no -cvc4_set_option(ENABLE_OPTIMIZED OFF) set(OPTIMIZATION_LEVEL 0) add_c_cxx_flag("-Og") # enable_debug_symbols=yes diff --git a/cmake/ConfigProduction.cmake b/cmake/ConfigProduction.cmake index 1b30dc1aa..49e338abf 100644 --- a/cmake/ConfigProduction.cmake +++ b/cmake/ConfigProduction.cmake @@ -1,6 +1,4 @@ # OPTLEVEL=3 -# enable_optimized=yes -cvc4_set_option(ENABLE_OPTIMIZED ON) set(OPTIMIZATION_LEVEL 3) # enable_debug_symbols=no cvc4_set_option(ENABLE_DEBUG_SYMBOLS OFF) diff --git a/cmake/ConfigTesting.cmake b/cmake/ConfigTesting.cmake index 9627bcd52..40366495d 100644 --- a/cmake/ConfigTesting.cmake +++ b/cmake/ConfigTesting.cmake @@ -1,6 +1,4 @@ # OPTLEVEL=2 -# enable_optimized=yes -cvc4_set_option(ENABLE_OPTIMIZED ON) set(OPTIMIZATION_LEVEL 2) # enable_debug_symbols=yes cvc4_set_option(ENABLE_DEBUG_SYMBOLS ON) -- 2.30.2