diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2015-11-01 09:42:23 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2015-11-02 21:04:18 +0200 |
| commit | 5adbe65feceeb6d2a08abe644f4a66f598985182 (patch) | |
| tree | 5a1df03f79857c327a5199c0acb55ffeac0da7e1 | |
| parent | f1339551221c3fb220939cd1e8404785af96a8af (diff) | |
gnu: gsl: Enable tests.
* gnu/packages/maths.scm (gsl)[arguments]: Enable tests for i686-linux.
| -rw-r--r-- | gnu/packages/maths.scm | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1aba3623a35..4eeb39d9558 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> | 8 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> |
| 9 | ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> | 9 | ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> |
| 10 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> | 10 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
| 11 | ;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il> | ||
| 11 | ;;; | 12 | ;;; |
| 12 | ;;; This file is part of GNU Guix. | 13 | ;;; This file is part of GNU Guix. |
| 13 | ;;; | 14 | ;;; |
| @@ -160,19 +161,7 @@ semiconductors.") | |||
| 160 | "0bfahlsgil0695104a44c3c8vjkyvxmg3s92371fddcrj6qz0qg3")))) | 161 | "0bfahlsgil0695104a44c3c8vjkyvxmg3s92371fddcrj6qz0qg3")))) |
| 161 | (build-system gnu-build-system) | 162 | (build-system gnu-build-system) |
| 162 | (arguments | 163 | (arguments |
| 163 | `(#:parallel-tests? #f | 164 | `(#:parallel-tests? #f)) |
| 164 | #:phases | ||
| 165 | (alist-replace | ||
| 166 | 'configure | ||
| 167 | (lambda* (#:key target system outputs #:allow-other-keys #:rest args) | ||
| 168 | (let ((configure (assoc-ref %standard-phases 'configure))) | ||
| 169 | ;; disable numerically unstable test on i686, see thread at | ||
| 170 | ;; http://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html | ||
| 171 | (if (string=? (or target system) "i686-linux") | ||
| 172 | (substitute* "ode-initval2/Makefile.in" | ||
| 173 | (("TESTS = \\$\\(check_PROGRAMS\\)") "TESTS ="))) | ||
| 174 | (apply configure args))) | ||
| 175 | %standard-phases))) | ||
| 176 | (home-page "http://www.gnu.org/software/gsl/") | 165 | (home-page "http://www.gnu.org/software/gsl/") |
| 177 | (synopsis "Numerical library for C and C++") | 166 | (synopsis "Numerical library for C and C++") |
| 178 | (description | 167 | (description |
