mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Python: Disable indeterministic optimizations.
* gnu/packages/python.scm (python-2.7)[arguments]: Remove "--with-lto" and "--enable-optimizations" from #:configure-flags.
This commit is contained in:
parent
79c2812130
commit
71ec85b295
1 changed files with 5 additions and 2 deletions
|
@ -187,9 +187,12 @@ (define-public python-2.7
|
||||||
"--with-system-ffi" ;build ctypes
|
"--with-system-ffi" ;build ctypes
|
||||||
"--with-ensurepip=install" ;install pip and setuptools
|
"--with-ensurepip=install" ;install pip and setuptools
|
||||||
"--with-computed-gotos" ;main interpreter loop optimization
|
"--with-computed-gotos" ;main interpreter loop optimization
|
||||||
"--with-lto" ;increase size by 20MB, but 15% speedup
|
|
||||||
"--enable-unicode=ucs4"
|
"--enable-unicode=ucs4"
|
||||||
"--enable-optimizations"
|
|
||||||
|
;; FIXME: These flags makes Python significantly faster, but
|
||||||
|
;; leads to non-reproducible binaries.
|
||||||
|
;; "--with-lto" ;increase size by 20MB, but 15% speedup
|
||||||
|
;; "--enable-optimizations"
|
||||||
|
|
||||||
;; Prevent the installed _sysconfigdata.py from retaining a reference
|
;; Prevent the installed _sysconfigdata.py from retaining a reference
|
||||||
;; to coreutils.
|
;; to coreutils.
|
||||||
|
|
Loading…
Reference in a new issue