summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-02-11 13:26:38 -0800
committerGitHub <noreply@github.com>2020-02-11 13:26:38 -0800
commit0f25a37b05db224fe16c3c0357c24d89ad9e5cee (patch)
tree0eaf674d6fa1bdba7c79d6f2f16600c729dce320
parent2309ba28f0fc364013b73554d4a08eaf53d85676 (diff)
cmake: Remove unused ENABLE_OPTIMIZED option. (#3749)
-rw-r--r--CMakeLists.txt2
-rw-r--r--cmake/ConfigCompetition.cmake2
-rw-r--r--cmake/ConfigDebug.cmake2
-rw-r--r--cmake/ConfigProduction.cmake2
-rw-r--r--cmake/ConfigTesting.cmake2
5 files changed, 0 insertions, 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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback