summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMosè Giordano <giordano@users.noreply.github.com>2023-05-31 20:32:12 +0100
committerGitHub <noreply@github.com>2023-05-31 15:32:12 -0400
commitf745e49d9ac17fd588cd3839897af01463610cc7 (patch)
tree97ed51315baeebc2cda44714e04bc0c2b166dde8 /var
parenteda21cdfbac2d3028370da18e1211ec8bc759cb1 (diff)
downloadspack-f745e49d9ac17fd588cd3839897af01463610cc7.tar.gz
spack-f745e49d9ac17fd588cd3839897af01463610cc7.tar.bz2
spack-f745e49d9ac17fd588cd3839897af01463610cc7.tar.xz
spack-f745e49d9ac17fd588cd3839897af01463610cc7.zip
julia: add patch to fix printing of `BigFloat` with MPFR v4.2 (#37992)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py
index e1a9f23083..f955517a20 100644
--- a/var/spack/repos/builtin/packages/julia/package.py
+++ b/var/spack/repos/builtin/packages/julia/package.py
@@ -198,6 +198,15 @@ class Julia(MakefilePackage):
when="@1.8.4:1.8.5",
)
+ # Fix printing of `BigFloat`s when using MPFR 4.2.0, but the patch is
+ # applicable to previous versions of the library too
+ # (https://github.com/JuliaLang/julia/issues/49895).
+ patch(
+ "https://github.com/JuliaLang/julia/pull/49909.patch?full_index=1",
+ sha256="7fa53516b97d83ccf06f6d387c04d337849808f7e8ee2bdc2e79894d84578afc",
+ when="@1.6.4:1.9.0",
+ )
+
# Fix gfortran abi detection https://github.com/JuliaLang/julia/pull/44026
patch("fix-gfortran.patch", when="@1.7.0:1.7.2")