mirror of https://github.com/python/cpython
Clarify what --enable-optimizations does (GH-1847)
This commit is contained in:
parent
7be651c7aa
commit
b4e5fee6f5
|
@ -783,7 +783,6 @@ infodir
|
||||||
docdir
|
docdir
|
||||||
oldincludedir
|
oldincludedir
|
||||||
includedir
|
includedir
|
||||||
runstatedir
|
|
||||||
localstatedir
|
localstatedir
|
||||||
sharedstatedir
|
sharedstatedir
|
||||||
sysconfdir
|
sysconfdir
|
||||||
|
@ -895,7 +894,6 @@ datadir='${datarootdir}'
|
||||||
sysconfdir='${prefix}/etc'
|
sysconfdir='${prefix}/etc'
|
||||||
sharedstatedir='${prefix}/com'
|
sharedstatedir='${prefix}/com'
|
||||||
localstatedir='${prefix}/var'
|
localstatedir='${prefix}/var'
|
||||||
runstatedir='${localstatedir}/run'
|
|
||||||
includedir='${prefix}/include'
|
includedir='${prefix}/include'
|
||||||
oldincludedir='/usr/include'
|
oldincludedir='/usr/include'
|
||||||
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||||
|
@ -1148,15 +1146,6 @@ do
|
||||||
| -silent | --silent | --silen | --sile | --sil)
|
| -silent | --silent | --silen | --sile | --sil)
|
||||||
silent=yes ;;
|
silent=yes ;;
|
||||||
|
|
||||||
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
|
||||||
| --runstate | --runstat | --runsta | --runst | --runs \
|
|
||||||
| --run | --ru | --r)
|
|
||||||
ac_prev=runstatedir ;;
|
|
||||||
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
|
||||||
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
|
||||||
| --run=* | --ru=* | --r=*)
|
|
||||||
runstatedir=$ac_optarg ;;
|
|
||||||
|
|
||||||
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
||||||
ac_prev=sbindir ;;
|
ac_prev=sbindir ;;
|
||||||
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
||||||
|
@ -1294,7 +1283,7 @@ fi
|
||||||
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
||||||
datadir sysconfdir sharedstatedir localstatedir includedir \
|
datadir sysconfdir sharedstatedir localstatedir includedir \
|
||||||
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
||||||
libdir localedir mandir runstatedir
|
libdir localedir mandir
|
||||||
do
|
do
|
||||||
eval ac_val=\$$ac_var
|
eval ac_val=\$$ac_var
|
||||||
# Remove trailing slashes.
|
# Remove trailing slashes.
|
||||||
|
@ -1447,7 +1436,6 @@ Fine tuning of the installation directories:
|
||||||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
||||||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
||||||
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
||||||
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
|
||||||
--libdir=DIR object code libraries [EPREFIX/lib]
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
||||||
--includedir=DIR C header files [PREFIX/include]
|
--includedir=DIR C header files [PREFIX/include]
|
||||||
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
||||||
|
@ -1488,8 +1476,8 @@ Optional Features:
|
||||||
Build (MacOSX|Darwin) framework
|
Build (MacOSX|Darwin) framework
|
||||||
--enable-shared disable/enable building shared python library
|
--enable-shared disable/enable building shared python library
|
||||||
--enable-profiling enable C-level code profiling
|
--enable-profiling enable C-level code profiling
|
||||||
--enable-optimizations Enable expensive optimizations (PGO, etc). Disabled
|
--enable-optimizations Enable expensive, stable optimizations (PGO, etc).
|
||||||
by default.
|
Disabled by default.
|
||||||
--enable-loadable-sqlite-extensions
|
--enable-loadable-sqlite-extensions
|
||||||
support loadable extensions in _sqlite module
|
support loadable extensions in _sqlite module
|
||||||
--enable-ipv6 Enable ipv6 (with ipv4) support
|
--enable-ipv6 Enable ipv6 (with ipv4) support
|
||||||
|
@ -17989,7 +17977,7 @@ mv config.c Modules
|
||||||
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
|
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
|
||||||
echo "" >&6
|
echo "" >&6
|
||||||
echo "" >&6
|
echo "" >&6
|
||||||
echo "If you want a release build with all optimizations active (LTO, PGO, etc)," >&6
|
echo "If you want a release build with all stable optimizations active (PGO, etc)," >&6
|
||||||
echo "please run ./configure --enable-optimizations" >&6
|
echo "please run ./configure --enable-optimizations" >&6
|
||||||
echo "" >&6
|
echo "" >&6
|
||||||
echo "" >&6
|
echo "" >&6
|
||||||
|
|
|
@ -1277,7 +1277,7 @@ AC_SUBST(DEF_MAKE_ALL_RULE)
|
||||||
AC_SUBST(DEF_MAKE_RULE)
|
AC_SUBST(DEF_MAKE_RULE)
|
||||||
Py_OPT='false'
|
Py_OPT='false'
|
||||||
AC_MSG_CHECKING(for --enable-optimizations)
|
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
|
if test "$enableval" != no
|
||||||
then
|
then
|
||||||
|
@ -5469,7 +5469,7 @@ mv config.c Modules
|
||||||
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
|
if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
|
||||||
echo "" >&AS_MESSAGE_FD
|
echo "" >&AS_MESSAGE_FD
|
||||||
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 "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD
|
||||||
echo "" >&AS_MESSAGE_FD
|
echo "" >&AS_MESSAGE_FD
|
||||||
echo "" >&AS_MESSAGE_FD
|
echo "" >&AS_MESSAGE_FD
|
||||||
|
|
Loading…
Reference in New Issue