guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: vigra: Build without numpy supp


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: vigra: Build without numpy support.
Date: Wed, 17 Nov 2021 10:51:22 -0500

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 94b76dc  gnu: vigra: Build without numpy support.
94b76dc is described below

commit 94b76dc85ca3098bf4ceb0f5b884b5708b9e8134
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 17 17:50:04 2021 +0200

    gnu: vigra: Build without numpy support.
    
    * gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy.
    [arguments]: Add configure-flag to build without vigranumpy.
---
 gnu/packages/image.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index ed846d7..6b07b67 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1211,7 +1211,7 @@ graphics image formats like PNG, BMP, JPEG, TIFF and 
others.")
         ("libtiff" ,libtiff)
         ("openexr" ,openexr-2)
         ("python" ,python-wrapper)
-        ("python-numpy" ,python-numpy)
+        ;("python-numpy" ,python-numpy)
         ("zlib" ,zlib)))
      (native-inputs
       `(("doxygen" ,doxygen)
@@ -1238,6 +1238,8 @@ graphics image formats like PNG, BMP, JPEG, TIFF and 
others.")
                                "/lib/python"
                                ,(version-major+minor (package-version python))
                                "/site-packages")
+                ;; Vigranumpy isn't compatible with numpy >= 1.20.
+                "-DWITH_VIGRANUMPY=0"
                 ;; OpenEXR is not enabled by default.
                 "-DWITH_OPENEXR=1"
                 ;; Fix rounding error on 32-bit machines



reply via email to

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