diff --git a/O/OpenLibm/build_tarballs.jl b/O/OpenLibm/build_tarballs.jl index 36d419a16fb..98646abd6bf 100644 --- a/O/OpenLibm/build_tarballs.jl +++ b/O/OpenLibm/build_tarballs.jl @@ -1,4 +1,6 @@ using BinaryBuilder +using Pkg +using BinaryBuilderBase: sanitize name = "OpenLibm" version = v"0.8.1" @@ -40,17 +42,18 @@ install_license ./LICENSE.md """ # We enable experimental platforms as this is a core Julia dependency -platforms = supported_platforms(;experimental=true) +platforms = supported_platforms() push!(platforms, Platform("x86_64", "linux"; sanitize="memory")) products = [ LibraryProduct("libopenlibm", :libopenlibm), ] +llvm_version = v"13.0.1" dependencies = [ - BuildDependency("LLVMCompilerRT_jll"; platforms=[Platform("x86_64", "linux"; sanitize="memory")]), + BuildDependency(PackageSpec(; name="LLVMCompilerRT_jll", uuid="4e17d02c-6bf5-513e-be62-445f41c75a11", version=llvm_version); platforms=filter(p -> sanitize(p)=="memory", platforms)), ] -# Build the tarballs, and possibly a `build.jl` as well. +# Build the tarballs, and possibly a `build.jl` as well build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - lock_microarchitecture=false, julia_compat="1.6") + lock_microarchitecture=false, julia_compat="1.6", preferred_llvm_version=llvm_version)