summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-05-30 22:49:15 +0200
committerGitHub <noreply@github.com>2023-05-30 13:49:15 -0700
commitefdac68c285bfa5db7e1fb03b0637e1a72045e2e (patch)
tree52f2277068afbeb334a075a08630c4d227c044d4 /var
parent5398c31e82d2a9483fd3030a1961cbf6935c334a (diff)
downloadspack-efdac68c285bfa5db7e1fb03b0637e1a72045e2e.tar.gz
spack-efdac68c285bfa5db7e1fb03b0637e1a72045e2e.tar.bz2
spack-efdac68c285bfa5db7e1fb03b0637e1a72045e2e.tar.xz
spack-efdac68c285bfa5db7e1fb03b0637e1a72045e2e.zip
julia: fix build for @1.8.4:1.8.5 (#37990)
julia@1.8.4:1.8.5 fails to build because it does not find libstdc++ (see https://github.com/JuliaLang/julia/issues/47987).
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py
index a7d486682d..e1a9f23083 100644
--- a/var/spack/repos/builtin/packages/julia/package.py
+++ b/var/spack/repos/builtin/packages/julia/package.py
@@ -191,6 +191,13 @@ class Julia(MakefilePackage):
patch("use-add-rpath.patch", when="@:1.8.0")
patch("use-add-rpath-2.patch", when="@1.8.1:1.8")
+ # Fix libstdc++ not being found (https://github.com/JuliaLang/julia/issues/47987)
+ patch(
+ "https://github.com/JuliaLang/julia/pull/48342.patch?full_index=1",
+ sha256="10f7cab89c8353b2648a968d2c8e8ed8bd90961df3227084f1d69d3d482933d7",
+ when="@1.8.4:1.8.5",
+ )
+
# Fix gfortran abi detection https://github.com/JuliaLang/julia/pull/44026
patch("fix-gfortran.patch", when="@1.7.0:1.7.2")