Skip to content

Commit

Permalink
julia: fix build for @1.8.4:1.8.5
Browse files Browse the repository at this point in the history
[email protected]:1.8.5 fails to build because it does not find libstdc++ (see
JuliaLang/julia#47987).
  • Loading branch information
michaelkuhn committed May 29, 2023
1 parent d85a27f commit a1f6e1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions var/spack/repos/builtin/packages/julia/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit a1f6e1f

Please sign in to comment.