[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-matplotlib: Fix rounding errors on x8
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-matplotlib: Fix rounding errors on x86 CPUs. |
Date: |
Sat, 14 Nov 2020 22:12:47 -0500 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 81643c4 gnu: python-matplotlib: Fix rounding errors on x86 CPUs.
81643c4 is described below
commit 81643c4cf3e61f5a98b92a72a92c230f5e7ca905
Author: Diego Nicola Barbato <dnbarbato@posteo.de>
AuthorDate: Sat Nov 14 15:07:28 2020 -0500
gnu: python-matplotlib: Fix rounding errors on x86 CPUs.
Fixes <https://issues.guix.gnu.org/40406>.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/python-xyz.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 278b557..f2f812a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -89,6 +89,7 @@
;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
;;; Copyright © 2020 Bonface Munyoki Kilyungi <bonfacemunyoki@gmail.com>
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5062,6 +5063,9 @@ convert between colorspaces like sRGB, XYZ, CIEL*a*b*,
CIECAM02, CAM02-UCS, etc.
;; has not effect.
(setenv "LD_LIBRARY_PATH" (string-append cairo "/lib"))
(setenv "HOME" (getcwd))
+ ;; Fix rounding errors when using the x87 FPU.
+ (when (string-prefix? "i686" ,(%current-system))
+ (setenv "CFLAGS" "-ffloat-store"))
(call-with-output-file "setup.cfg"
(lambda (port)
(format port "[directories]~%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-matplotlib: Fix rounding errors on x86 CPUs.,
guix-commits <=