mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Clarify what --enable-optimizations does (GH-1847)
This commit is contained in:
parent
7be651c7aa
commit
b4e5fee6f5
2 changed files with 6 additions and 18 deletions
|
@ -1277,7 +1277,7 @@ AC_SUBST(DEF_MAKE_ALL_RULE)
|
|||
AC_SUBST(DEF_MAKE_RULE)
|
||||
Py_OPT='false'
|
||||
AC_MSG_CHECKING(for --enable-optimizations)
|
||||
AC_ARG_ENABLE(optimizations, AS_HELP_STRING([--enable-optimizations], [Enable expensive optimizations (PGO, etc). Disabled by default.]),
|
||||
AC_ARG_ENABLE(optimizations, AS_HELP_STRING([--enable-optimizations], [Enable expensive, stable optimizations (PGO, etc). Disabled by default.]),
|
||||
[
|
||||
if test "$enableval" != no
|
||||
then
|
||||
|
@ -5469,7 +5469,7 @@ mv config.c Modules
|
|||
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
|
||||
echo "" >&AS_MESSAGE_FD
|
||||
echo "" >&AS_MESSAGE_FD
|
||||
echo "If you want a release build with all optimizations active (LTO, PGO, etc)," >&AS_MESSAGE_FD
|
||||
echo "If you want a release build with all stable optimizations active (PGO, etc)," >&AS_MESSAGE_FD
|
||||
echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD
|
||||
echo "" >&AS_MESSAGE_FD
|
||||
echo "" >&AS_MESSAGE_FD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue