From 9981637d5e626ffccf29860986d31e9611cc1fb2 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Mon, 29 May 2023 13:52:57 +0200 Subject: [PATCH] julia: fix build for @1.8.4:1.8.5 julia@1.8.4:1.8.5 fails to build because it does not find libstdc++ (see https://github.com/JuliaLang/julia/issues/47987). --- var/spack/repos/builtin/packages/julia/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index a7d486682d8ba2..b962562a4572ef 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -191,6 +191,9 @@ 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")