mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: openexr: Disable broken test to fix build on i686.
* gnu/packages/graphics.scm (openexr)[arguments]: New field.
This commit is contained in:
parent
b5f990a680
commit
bce6f7ce63
1 changed files with 14 additions and 0 deletions
|
@ -206,6 +206,20 @@ (define-public openexr
|
|||
"\"/tmp/\"")))
|
||||
(patches (list (search-patch "openexr-missing-samples.patch")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-broken-test
|
||||
;; This test fails on i686. Upstream developers suggest that
|
||||
;; this test is broken on i686 and can be safely disabled:
|
||||
;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
|
||||
(lambda _
|
||||
(substitute* "IlmImfTest/main.cpp"
|
||||
(("#include \"testOptimizedInterleavePatterns.h\"")
|
||||
"//#include \"testOptimizedInterleavePatterns.h\"")
|
||||
(("TEST \\(testOptimizedInterleavePatterns")
|
||||
"//TEST (testOptimizedInterleavePatterns"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue