gnu: eigen: Use 'modify-phases'.

* gnu/packages/algebra.scm (eigen)[arguments]: Use 'modify-phases'
  instead of 'alist-cons-before'.
This commit is contained in:
Ludovic Courtès 2015-11-16 15:52:56 +01:00
parent a4eb83b709
commit 354f4fe292
1 changed files with 11 additions and 12 deletions

View File

@ -413,8 +413,8 @@ cosine/ sine transforms or DCT/DST).")
;; <http://eigen.tuxfamily.org/index.php?title=Tests>. ;; <http://eigen.tuxfamily.org/index.php?title=Tests>.
#:test-target "check" #:test-target "check"
#:phases (alist-cons-before #:phases (modify-phases %standard-phases
'check 'build-tests (add-before 'check 'build-tests
(lambda _ (lambda _
;; First build the tests, in parallel. ;; First build the tests, in parallel.
;; See <http://eigen.tuxfamily.org/index.php?title=Tests>. ;; See <http://eigen.tuxfamily.org/index.php?title=Tests>.
@ -424,8 +424,7 @@ cosine/ sine transforms or DCT/DST).")
(setenv "EIGEN_MAKE_ARGS" dash-j) (setenv "EIGEN_MAKE_ARGS" dash-j)
(setenv "EIGEN_CTEST_ARGS" dash-j) (setenv "EIGEN_CTEST_ARGS" dash-j)
(zero? (system* "make" "buildtests" dash-j)))) (zero? (system* "make" "buildtests" dash-j))))))))
%standard-phases)))
(home-page "http://eigen.tuxfamily.org") (home-page "http://eigen.tuxfamily.org")
(synopsis "C++ template library for linear algebra") (synopsis "C++ template library for linear algebra")
(description (description