gnu: vigra: Disable broken test.

* gnu/packages/image.scm (vigra)[arguments]: Add phase "disable-broken-test";
enable parallel build.
This commit is contained in:
Ricardo Wurmus 2018-06-06 13:14:23 +02:00
parent 73c0e477e5
commit e32db0fa0f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,7 @@
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com> ;;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;;; Copyright © 2014, 2016, 2017 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2014, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net> ;;; Copyright © 2015 Amirouche Boubekki <amirouche@hypermove.net>
;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org> ;;; Copyright © 2014, 2017 John Darrington <jmd@gnu.org>
@ -811,7 +811,14 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.")
("python2-sphinx" ,python2-sphinx))) ("python2-sphinx" ,python2-sphinx)))
(arguments (arguments
`(#:test-target "check" `(#:test-target "check"
#:parallel-build? #f ; parallel builds trigger an ICE #:phases
(modify-phases %standard-phases
;; See https://github.com/ukoethe/vigra/issues/432
(add-after 'unpack 'disable-broken-test
(lambda _
(substitute* "test/fourier/CMakeLists.txt"
(("VIGRA_ADD_TEST.*") ""))
#t)))
#:configure-flags #:configure-flags
(list "-Wno-dev" ; suppress developer mode with lots of warnings (list "-Wno-dev" ; suppress developer mode with lots of warnings
(string-append "-DVIGRANUMPY_INSTALL_DIR=" (string-append "-DVIGRANUMPY_INSTALL_DIR="