Skip to content

Commit b9152ee

Browse files
authored
[slope] update to 6.3.0 (#12739)
1 parent 85a194e commit b9152ee

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

S/slope/build_tarballs.jl

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@ const YGGDRASIL_DIR = "../.."
44
include(joinpath(YGGDRASIL_DIR, "platforms", "macos_sdks.jl"))
55

66
name = "slope"
7-
version = v"5.1.1"
8-
9-
# See https://github.com/JuliaLang/Pkg.jl/issues/2942
10-
# Once this Pkg issue is resolved, this must be removed
11-
uuid = Base.UUID("a83860b7-747b-57cf-bf1f-3e79990d037f")
12-
delete!(Pkg.Types.get_last_stdlibs(v"1.6.3"), uuid)
7+
version = v"6.3.0"
138

149
sources = [
15-
GitSource("https://github.com/jolars/libslope.git", "e668b0891ff744cad2d1b3fbf13bf2ec534f1518"),
10+
GitSource("https://github.com/jolars/libslope.git", "25c165ed1e52ee99da57c81d42ba5c504f1c98b4"),
1611
]
1712

1813
# Bash recipe for building across all platforms
@@ -23,11 +18,12 @@ cd $WORKSPACE/srcdir/libslope
2318
cmake -B build \
2419
-DBUILD_TESTING=OFF \
2520
-DBUILD_JULIA_BINDINGS=ON \
21+
-DJlCxx_DIR=$prefix/lib/cmake/JlCxx \
2622
-DCMAKE_BUILD_TYPE=Release \
2723
-DCMAKE_INSTALL_PREFIX=$prefix \
2824
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
2925
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
30-
-DJulia_PREFIX=${prefix} \
26+
-DJulia_PREFIX=${prefix}
3127
3228
cmake --build build --parallel ${nproc}
3329
cmake --install build
@@ -36,7 +32,7 @@ install_license $WORKSPACE/srcdir/libslope/LICENSE
3632
"""
3733

3834
# `std::optionals()`'s `value()` needs macOS 10.14 SDK
39-
sources, script = require_macos_sdk("10.14", sources, script)
35+
sources, script = require_macos_sdk("11.3", sources, script)
4036

4137
include("../../L/libjulia/common.jl")
4238
julia_versions = filter(v -> v >= v"1.10", julia_versions)
@@ -51,9 +47,11 @@ dependencies = [
5147
BuildDependency("Eigen_jll"),
5248
BuildDependency("libjulia_jll"),
5349
Dependency("CompilerSupportLibraries_jll"),
54-
Dependency("LLVMOpenMP_jll", platforms=filter(Sys.isapple, platforms)),
55-
Dependency("libcxxwrap_julia_jll"; compat="0.14.3"),
50+
Dependency("LLVMOpenMP_jll", platforms = filter(Sys.isapple, platforms)),
51+
Dependency("libcxxwrap_julia_jll"; compat = "0.14.7"),
5652
]
5753

58-
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
59-
preferred_gcc_version=v"11", julia_compat="1.10")
54+
build_tarballs(
55+
ARGS, name, version, sources, script, platforms, products, dependencies;
56+
preferred_gcc_version = v"11", julia_compat = "1.10"
57+
)

0 commit comments

Comments
 (0)