Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
164eea54
Kaydet (Commit)
164eea54
authored
Kas 20, 2016
tarafından
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Rename the new --with-optimiations flag to --enable-optimizations.
üst
9f64de8b
1016b2ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
18 deletions
+31
-18
NEWS
Misc/NEWS
+2
-0
configure
configure
+24
-13
configure.ac
configure.ac
+5
-5
No files found.
Misc/NEWS
Dosyayı görüntüle @
164eea54
...
@@ -931,6 +931,8 @@ Tests
...
@@ -931,6 +931,8 @@ Tests
Build
Build
-----
-----
- Issue #26359: Rename --with-optimiations to --enable-optimizations.
- Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
- Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
- Issue #27705: Update message in validate_ucrtbase.py
- Issue #27705: Update message in validate_ucrtbase.py
...
...
configure
Dosyayı görüntüle @
164eea54
...
@@ -784,6 +784,7 @@ infodir
...
@@ -784,6 +784,7 @@ infodir
docdir
docdir
oldincludedir
oldincludedir
includedir
includedir
runstatedir
localstatedir
localstatedir
sharedstatedir
sharedstatedir
sysconfdir
sysconfdir
...
@@ -817,7 +818,7 @@ with_suffix
...
@@ -817,7 +818,7 @@ with_suffix
enable_shared
enable_shared
enable_profiling
enable_profiling
with_pydebug
with_pydebug
with
_optimizations
enable
_optimizations
with_lto
with_lto
with_hash_algorithm
with_hash_algorithm
with_address_sanitizer
with_address_sanitizer
...
@@ -894,6 +895,7 @@ datadir='${datarootdir}'
...
@@ -894,6 +895,7 @@ 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}'
...
@@ -1146,6 +1148,15 @@ do
...
@@ -1146,6 +1148,15 @@ 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
=
*
\
...
@@ -1283,7 +1294,7 @@ fi
...
@@ -1283,7 +1294,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
libdir localedir mandir
runstatedir
do
do
eval
ac_val
=
\$
$ac_var
eval
ac_val
=
\$
$ac_var
# Remove trailing slashes.
# Remove trailing slashes.
...
@@ -1436,6 +1447,7 @@ Fine tuning of the installation directories:
...
@@ -1436,6 +1447,7 @@ 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]
...
@@ -1476,6 +1488,8 @@ Optional Features:
...
@@ -1476,6 +1488,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
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
...
@@ -1499,8 +1513,6 @@ Optional Packages:
...
@@ -1499,8 +1513,6 @@ Optional Packages:
compiler
compiler
--with-suffix=.exe set executable suffix
--with-suffix=.exe set executable suffix
--with-pydebug build with Py_DEBUG defined
--with-pydebug build with Py_DEBUG defined
--with-optimizations Enable expensive optimizations (PGO, etc). Disabled
by default.
--with-lto Enable Link Time Optimization in PGO builds.
--with-lto Enable Link Time Optimization in PGO builds.
Disabled by default.
Disabled by default.
--with-hash-algorithm=[fnv|siphash24]
--with-hash-algorithm=[fnv|siphash24]
...
@@ -6524,12 +6536,11 @@ fi
...
@@ -6524,12 +6536,11 @@ fi
Py_OPT
=
'false'
Py_OPT
=
'false'
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for --with-optimizations"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for --enable-optimizations"
>
&5
$as_echo_n
"checking for --with-optimizations... "
>
&6
;
}
$as_echo_n
"checking for --enable-optimizations... "
>
&6
;
}
# Check whether --enable-optimizations was given.
# Check whether --with-optimizations was given.
if
test
"
${
enable_optimizations
+set
}
"
=
set
;
then
:
if
test
"
${
with_optimizations
+set
}
"
=
set
;
then
:
enableval
=
$enable_optimizations
;
withval
=
$with_optimizations
;
if
test
"
$withval
"
!=
no
if
test
"
$withval
"
!=
no
then
then
Py_OPT
=
'true'
Py_OPT
=
'true'
...
@@ -6796,7 +6807,7 @@ case $CC in
...
@@ -6796,7 +6807,7 @@ case $CC in
LLVM_PROF_ERR
=
yes
LLVM_PROF_ERR
=
yes
if
test
"
${
REQUIRE_PGO
}
"
=
"yes"
if
test
"
${
REQUIRE_PGO
}
"
=
"yes"
then
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
fi
fi
;;
;;
...
@@ -6812,7 +6823,7 @@ case $CC in
...
@@ -6812,7 +6823,7 @@ case $CC in
LLVM_PROF_ERR
=
yes
LLVM_PROF_ERR
=
yes
if
test
"
${
REQUIRE_PGO
}
"
=
"yes"
if
test
"
${
REQUIRE_PGO
}
"
=
"yes"
then
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
fi
fi
;;
;;
...
@@ -17861,7 +17872,7 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
...
@@ -17861,7 +17872,7 @@ 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 optimizations active (LTO, PGO, etc),"
>
&6
echo
"please run ./configure --
with
-optimizations"
>
&6
echo
"please run ./configure --
enable
-optimizations"
>
&6
echo
""
>
&6
echo
""
>
&6
echo
""
>
&6
echo
""
>
&6
fi
fi
...
...
configure.ac
Dosyayı görüntüle @
164eea54
...
@@ -1281,8 +1281,8 @@ fi],
...
@@ -1281,8 +1281,8 @@ fi],
AC_SUBST(DEF_MAKE_ALL_RULE)
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 --
with
-optimizations)
AC_MSG_CHECKING(for --
enable
-optimizations)
AC_ARG_
WITH(optimizations, AS_HELP_STRING([--with
-optimizations], [Enable expensive optimizations (PGO, etc). Disabled by default.]),
AC_ARG_
ENABLE(optimizations, AS_HELP_STRING([--enable
-optimizations], [Enable expensive optimizations (PGO, etc). Disabled by default.]),
[
[
if test "$withval" != no
if test "$withval" != no
then
then
...
@@ -1405,7 +1405,7 @@ case $CC in
...
@@ -1405,7 +1405,7 @@ case $CC in
LLVM_PROF_ERR=yes
LLVM_PROF_ERR=yes
if test "${REQUIRE_PGO}" = "yes"
if test "${REQUIRE_PGO}" = "yes"
then
then
AC_MSG_ERROR([llvm-profdata is required for a --
with
-optimizations build but could not be found.])
AC_MSG_ERROR([llvm-profdata is required for a --
enable
-optimizations build but could not be found.])
fi
fi
fi
fi
;;
;;
...
@@ -1421,7 +1421,7 @@ case $CC in
...
@@ -1421,7 +1421,7 @@ case $CC in
LLVM_PROF_ERR=yes
LLVM_PROF_ERR=yes
if test "${REQUIRE_PGO}" = "yes"
if test "${REQUIRE_PGO}" = "yes"
then
then
AC_MSG_ERROR([llvm-profdata is required for a --
with
-optimizations build but could not be found.])
AC_MSG_ERROR([llvm-profdata is required for a --
enable
-optimizations build but could not be found.])
fi
fi
fi
fi
;;
;;
...
@@ -5395,7 +5395,7 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
...
@@ -5395,7 +5395,7 @@ 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 optimizations active (LTO, PGO, etc)," >&AS_MESSAGE_FD
echo "please run ./configure --
with
-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
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment