Skip to content

Commit

Permalink
[OpenLibm] Rebuild for FreeBSD AArch64 support (JuliaPackaging#9418)
Browse files Browse the repository at this point in the history
* [OpenLibm] Trigger a rebuild

* Update build_tarballs.jl

---------

Co-authored-by: Mosè Giordano <[email protected]>
  • Loading branch information
ararslan and giordano authored Sep 12, 2024
1 parent 56bdd87 commit 86d213e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions O/OpenLibm/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using BinaryBuilder
using Pkg
using BinaryBuilderBase: sanitize

name = "OpenLibm"
version = v"0.8.1"
Expand Down Expand Up @@ -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)

0 comments on commit 86d213e

Please sign in to comment.