gnu: vigra: Workaround rounding error in test suite on 32-bit CPUs.
* gnu/packages/image.scm (vigra)[arguments]: Pass '-ffloat-store' to C_FLAGS and CXX_FLAGS.master
parent
382aacc5a3
commit
f803f775d2
|
@ -647,12 +647,15 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.")
|
||||||
"/lib/python2.7/site-packages")
|
"/lib/python2.7/site-packages")
|
||||||
;; OpenEXR is not enabled by default.
|
;; OpenEXR is not enabled by default.
|
||||||
"-DWITH_OPENEXR=1"
|
"-DWITH_OPENEXR=1"
|
||||||
|
;; Fix rounding error on 32-bit machines
|
||||||
|
"-DCMAKE_C_FLAGS=-ffloat-store"
|
||||||
;; The header files of ilmbase are not found when included
|
;; The header files of ilmbase are not found when included
|
||||||
;; by the header files of openexr, and an explicit flag
|
;; by the header files of openexr, and an explicit flag
|
||||||
;; needs to be set.
|
;; needs to be set.
|
||||||
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
(string-append "-DCMAKE_CXX_FLAGS=-I"
|
||||||
(assoc-ref %build-inputs "ilmbase")
|
(assoc-ref %build-inputs "ilmbase")
|
||||||
"/include/OpenEXR"))))
|
"/include/OpenEXR"
|
||||||
|
" -ffloat-store"))))
|
||||||
(synopsis "Computer vision library")
|
(synopsis "Computer vision library")
|
||||||
(description
|
(description
|
||||||
"VIGRA stands for Vision with Generic Algorithms. It is an image
|
"VIGRA stands for Vision with Generic Algorithms. It is an image
|
||||||
|
|
Loading…
Reference in New Issue