diff options
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-11-20 21:07:42 (GMT) |
---|---|---|
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-11-20 21:07:42 (GMT) |
commit | 1016b2ff00665203ae01d82520dac497ac89e5e7 (patch) | |
tree | 24eff9513fa3b82de5d029764870a2f14b9e490f /configure | |
parent | bbfe6c3986dc61eecd592fb3a290fce6c089c4e7 (diff) | |
download | cpython-1016b2ff00665203ae01d82520dac497ac89e5e7.zip cpython-1016b2ff00665203ae01d82520dac497ac89e5e7.tar.gz cpython-1016b2ff00665203ae01d82520dac497ac89e5e7.tar.bz2 |
Rename the new --with-optimiations flag to --enable-optimizations.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -815,7 +815,7 @@ with_suffix enable_shared enable_profiling with_pydebug -with_optimizations +enable_optimizations with_lto with_hash_algorithm with_address_sanitizer @@ -1486,6 +1486,8 @@ Optional Features: Build (MacOSX|Darwin) framework --enable-shared disable/enable building shared python library --enable-profiling enable C-level code profiling + --enable-optimizations Enable expensive optimizations (PGO, maybe LTO, + etc). Disabled by default. --enable-loadable-sqlite-extensions support loadable extensions in _sqlite module --enable-ipv6 Enable ipv6 (with ipv4) support @@ -1509,8 +1511,6 @@ Optional Packages: compiler --with-suffix=.exe set executable suffix --with-pydebug build with Py_DEBUG defined - --with-optimizations Enable expensive optimizations (PGO, maybe LTO, - etc). Disabled by default. --with-lto Enable Link Time Optimization in PGO builds. Disabled by default. --with-hash-algorithm=[fnv|siphash24] @@ -6543,12 +6543,11 @@ fi Py_OPT='false' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-optimizations" >&5 -$as_echo_n "checking for --with-optimizations... " >&6; } - -# Check whether --with-optimizations was given. -if test "${with_optimizations+set}" = set; then : - withval=$with_optimizations; +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5 +$as_echo_n "checking for --enable-optimizations... " >&6; } +# Check whether --enable-optimizations was given. +if test "${enable_optimizations+set}" = set; then : + enableval=$enable_optimizations; if test "$withval" != no then Py_OPT='true' @@ -6808,7 +6807,7 @@ case $CC in LLVM_PROF_ERR=yes if test "${REQUIRE_PGO}" = "yes" then - as_fn_error $? "llvm-profdata is required for a --with-optimizations build but could not be found." "$LINENO" 5 + as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5 fi fi ;; @@ -6824,7 +6823,7 @@ case $CC in LLVM_PROF_ERR=yes if test "${REQUIRE_PGO}" = "yes" then - as_fn_error $? "llvm-profdata is required for a --with-optimizations build but could not be found." "$LINENO" 5 + as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5 fi fi ;; @@ -17829,7 +17828,7 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then echo "" >&6 echo "" >&6 echo "If you want a release build with all optimizations active (LTO, PGO, etc)," - echo "please run ./configure --with-optimizations" >&6 + echo "please run ./configure --enable-optimizations" >&6 echo "" >&6 echo "" >&6 fi |