gnu: eigen: Use parallel-job-count.

* gnu/packages/algebra.scm (eigen)[arguments]: 'current-processor-count' ->
  'parallel-job-count'.
This commit is contained in:
Eric Bavier 2015-07-14 20:49:43 -05:00
parent 107db20da8
commit fc3cbc67c1

View file

@ -383,7 +383,7 @@ (define-public eigen
(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>.
(let* ((cores (current-processor-count)) (let* ((cores (parallel-job-count))
(dash-j (format #f "-j~a" cores))) (dash-j (format #f "-j~a" cores)))
;; These variables are supposed to be honored. ;; These variables are supposed to be honored.
(setenv "EIGEN_MAKE_ARGS" dash-j) (setenv "EIGEN_MAKE_ARGS" dash-j)