me
/
guix
Archived
1
0
Fork 0

gnu: vigra: Build without numpy support.

* gnu/packages/image.scm (vigra)[inputs]: Remove python-numpy.
[arguments]: Add configure-flag to build without vigranumpy.
master
Efraim Flashner 2021-11-17 17:50:04 +02:00
parent 105b3689d2
commit 94b76dc85c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 1 deletions

View File

@ -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