summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-11-17 17:50:04 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-11-17 17:50:04 +0200
commit94b76dc85ca3098bf4ceb0f5b884b5708b9e8134 (patch)
tree9707db73d3cacffc12636b5b3421c5c6196f790e
parent105b3689d2bcc87f721da7342e45aed0d69c9ed1 (diff)
downloadguix-94b76dc85ca3098bf4ceb0f5b884b5708b9e8134.tar.gz
gnu: vigra: Build without numpy support.
* gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy.
[arguments]: Add configure-flag to build without vigranumpy.
-rw-r--r--gnu/packages/image.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index ed846d7141..6b07b67e9d 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