gnu: julia: Fix building.

* gnu/packages/julia.scm (julia)[arguments]: Adjust 'adjust-test-suite
phase to account for newer package versions.
This commit is contained in:
Efraim Flashner 2021-08-18 12:07:33 +03:00
parent d6f4dc1db4
commit c9484c9c99
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -460,6 +460,8 @@ (define-public julia
(let ((pcre2 (assoc-ref inputs "pcre2"))
(mbedtls-apache (assoc-ref inputs "mbedtls"))
(mpfr (assoc-ref inputs "mpfr"))
(gmp (assoc-ref inputs "gmp"))
(nghttp2 (assoc-ref inputs "libnghttp2"))
(suitesparse (assoc-ref inputs "suitesparse")))
;; Some tests only check to see if the input is the correct version.
(substitute* "stdlib/PCRE2_jll/test/runtests.jl"
@ -468,6 +470,10 @@ (define-public julia
(("2.24.0") ,(package-version mbedtls-apache)))
(substitute* "stdlib/MPFR_jll/test/runtests.jl"
(("4.1.0") ,(package-version mpfr)))
(substitute* "stdlib/GMP_jll/test/runtests.jl"
(("6.2.0") ,(package-version gmp)))
(substitute* "stdlib/nghttp2_jll/test/runtests.jl"
(("1.41.0") ,(package-version nghttp2)))
(substitute* "stdlib/SuiteSparse_jll/test/runtests.jl"
(("5004") ,(string-replace-substring
(version-major+minor