guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

49/49: gnu: Python: Disable indeterministic optimizations.


From: guix-commits
Subject: 49/49: gnu: Python: Disable indeterministic optimizations.
Date: Fri, 23 Jul 2021 11:33:15 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 71ec85b2958798246fc2b5d84c40badf5f75668e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jul 22 00:08:52 2021 +0200

    gnu: Python: Disable indeterministic optimizations.
    
    * gnu/packages/python.scm (python-2.7)[arguments]: Remove "--with-lto" and
    "--enable-optimizations" from #:configure-flags.
---
 gnu/packages/python.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cee8613..f4d574e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -187,9 +187,12 @@
              "--with-system-ffi"        ;build ctypes
              "--with-ensurepip=install" ;install pip and setuptools
              "--with-computed-gotos"    ;main interpreter loop optimization
-             "--with-lto"               ;increase size by 20MB, but 15% speedup
              "--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
              ;; to coreutils.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]