Skip to content

Commit 6b8e15a

Browse files
committed
Build library for different versions of Julia
1 parent b3d1239 commit 6b8e15a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

deps/bb_recipe/build_tarballs.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,18 @@ c++ \
4141
install_license /usr/share/licenses/MIT
4242
"""
4343

44-
platforms = [
45-
Platform("x86_64", "linux"; libc="glibc", cxxstring_abi="cxx11", julia_version="1.10.0"),
44+
julia_versions = if VersionNumber(ENV["SDK_VERSION"]) < v"3.3"
45+
["1.9.0", "1.10.0"]
46+
else
47+
["1.11.0"]
48+
end
49+
50+
base_platforms = [
51+
Platform("x86_64", "linux"; libc="glibc", cxxstring_abi="cxx11")
4652
]
4753

54+
platforms = vcat([(p = deepcopy(platform); p["julia_version"] = julia_version; p) for platform in base_platforms, julia_version in julia_versions]...)
55+
4856
products = [
4957
LibraryProduct("libpoplar_julia", :libpoplar_julia; dont_dlopen=true),
5058
]

0 commit comments

Comments
 (0)