diff options
| author | Marius Bakke <marius@gnu.org> | 2021-07-22 00:08:52 +0200 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2021-07-23 17:26:47 +0200 |
| commit | 71ec85b2958798246fc2b5d84c40badf5f75668e (patch) | |
| tree | 88b37a3b6119680c6c5b3fb934576dcccdd11029 /gnu/packages/python.scm | |
| parent | 79c28121306ee26856414724b1efe0ed65318085 (diff) | |
gnu: Python: Disable indeterministic optimizations.
* gnu/packages/python.scm (python-2.7)[arguments]: Remove "--with-lto" and
"--enable-optimizations" from #:configure-flags.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cee8613b34f..f4d574e2b27 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -187,9 +187,12 @@ | |||
| 187 | "--with-system-ffi" ;build ctypes | 187 | "--with-system-ffi" ;build ctypes |
| 188 | "--with-ensurepip=install" ;install pip and setuptools | 188 | "--with-ensurepip=install" ;install pip and setuptools |
| 189 | "--with-computed-gotos" ;main interpreter loop optimization | 189 | "--with-computed-gotos" ;main interpreter loop optimization |
| 190 | "--with-lto" ;increase size by 20MB, but 15% speedup | ||
| 191 | "--enable-unicode=ucs4" | 190 | "--enable-unicode=ucs4" |
| 192 | "--enable-optimizations" | 191 | |
| 192 | ;; FIXME: These flags makes Python significantly faster, but | ||
| 193 | ;; leads to non-reproducible binaries. | ||
| 194 | ;; "--with-lto" ;increase size by 20MB, but 15% speedup | ||
| 195 | ;; "--enable-optimizations" | ||
| 193 | 196 | ||
| 194 | ;; Prevent the installed _sysconfigdata.py from retaining a reference | 197 | ;; Prevent the installed _sysconfigdata.py from retaining a reference |
| 195 | ;; to coreutils. | 198 | ;; to coreutils. |
