Skip to content

Commit 11e301e

Browse files
committed
try working around libblastrampoline issue
1 parent afaa659 commit 11e301e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

L/libpolymake_julia/build_tarballs.jl

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,26 @@
33
using BinaryBuilder, Pkg
44
using Base.BinaryPlatforms
55

6-
# copied from libsingular_julia:
6+
# needed for libjulia_platforms and julia_versions
7+
include("../../L/libjulia/common.jl")
8+
# we only support julia >=1.10
9+
filter!(>=(v"1.10"), julia_versions)
10+
711
# See https://github.com/JuliaLang/Pkg.jl/issues/2942
812
# Once this Pkg issue is resolved, this must be removed
13+
# without this binarybuilder tries to install libblastrampoline 3.0.4 for all julia targets
14+
uuidblastramp = Base.UUID("8e850b90-86db-534c-a0d3-1478176c7d93")
15+
delete!.(Pkg.Types.get_last_stdlibs.(julia_versions), uuidblastramp)
16+
917
uuidopenssl = Base.UUID("458c3c95-2e84-50aa-8efc-19380b2a3a95")
1018
delete!(Pkg.Types.get_last_stdlibs(v"1.12.0"), uuidopenssl)
1119
delete!(Pkg.Types.get_last_stdlibs(v"1.13.0"), uuidopenssl)
1220

13-
# needed for libjulia_platforms and julia_versions
14-
include("../../L/libjulia/common.jl")
15-
1621
name = "libpolymake_julia"
1722
version = v"0.14.0"
1823

1924
# reminder: change the above version when changing the supported julia versions
2025
# julia_versions is now taken from libjulia/common.jl and filtered
21-
filter!(>=(v"1.10"), julia_versions)
2226
julia_compat = join("~" .* string.(getfield.(julia_versions, :major)) .* "." .* string.(getfield.(julia_versions, :minor)), ", ")
2327

2428
# Collection of sources required to build libpolymake_julia
@@ -68,6 +72,8 @@ dependencies = [
6872
BuildDependency(PackageSpec(;name="libjulia_jll", version=v"1.10.19")),
6973
BuildDependency("GMP_jll"),
7074
BuildDependency("MPFR_jll"),
75+
# this version matches the one in Ipopt_jll (needed by polymake -> SCIP)
76+
BuildDependency(PackageSpec(;name="libblastrampoline_jll", version = v"5.4.0")),
7177
Dependency("CompilerSupportLibraries_jll"),
7278
Dependency("FLINT_jll", compat = "~301.300.0"),
7379
Dependency("TOPCOM_jll"; compat = "~0.17.8"),

0 commit comments

Comments
 (0)