Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libuv to v2-1.48.0 #8081

Merged
merged 6 commits into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions L/LibUV/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
using BinaryBuilder
using Pkg
using BinaryBuilderBase: sanitize

name = "LibUV"
version = v"2"

# Collection of sources required to build libuv
sources = [
GitSource("https://github.com/JuliaLang/libuv.git",
"2723e256e952be0b015b3c0086f717c3d365d97e"),
"afa1c67fa496eb49ade1e520f76fd018a1409eaa"),
]

# Bash recipe for building across all platforms
Expand Down Expand Up @@ -39,13 +41,16 @@ products = [
LibraryProduct("libuv", :libuv),
]

llvm_version = v"13.0.1"

# Dependencies that must be installed before this package can be built
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)),
]

# Note: we explicitly lie about this because we don't have the new
# versioning APIs worked out in BB yet.
version = v"2.0.1"
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6")

build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
# We need GCC 4.9+ for stdatomic.h
julia_compat="1.6", preferred_gcc_version=v"5", preferred_llvm_version=llvm_version)