Skip to content

Commit eeb106d

Browse files
committed
Add compat option for Zlib_jll
1 parent 746aa36 commit eeb106d

File tree

4 files changed

+28
-12
lines changed

4 files changed

+28
-12
lines changed

GR/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "GR"
22
uuid = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"
3-
version = "0.73.22"
3+
version = "0.73.23"
44
author = ["Josef Heinen (@jheinen)"]
55

66
[deps]
@@ -34,7 +34,7 @@ IJuliaExt = "IJulia"
3434
Artifacts = "1"
3535
DelimitedFiles = "1"
3636
Downloads = "1"
37-
GR_jll = "=0.73.22"
37+
GR_jll = "=0.73.23"
3838
HTTP = "0.8, 0.9, 1"
3939
IJulia = "1"
4040
JSON = "0.20, 0.21, 1"

GR/src/downloader.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ using Tar
99
using Downloads
1010
using p7zip_jll
1111

12-
const version = v"0.73.22"
12+
const version = v"0.73.23"
1313

1414
"""
1515
get_grdir()

GR/src/js.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import GR
44

55
const init = Ref(false)
66

7-
const jssource = Ref("https://gr-framework.org/downloads/gr-0.73.22.js")
7+
const jssource = Ref("https://gr-framework.org/downloads/gr-0.73.23.js")
88

99
function get_jsterm()
1010
if GR.isijulia()

build_tarballs.jl

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# Note that this script can accept some limited command-line arguments, run
22
# `julia build_tarballs.jl --help` to see a usage message.
33
using BinaryBuilder
4+
using Pkg: PackageSpec
5+
6+
const YGGDRASIL_DIR = "../.."
7+
include(joinpath(YGGDRASIL_DIR, "fancy_toys.jl"))
48

59
name = "GR"
6-
version = v"0.73.22"
10+
version = v"0.73.23"
711

812
# Collection of sources required to complete build
913
sources = [
10-
GitSource("https://github.com/sciapp/gr.git", "30e6b712d2915275388cf552f57480e73f5224ad"),
14+
GitSource("https://github.com/sciapp/gr.git", "30a598f87747c909e061d954c33527e6f75595e6"),
1115
FileSource("https://github.com/sciapp/gr/releases/download/v$version/gr-$version.js",
12-
"a33da3ce2879467dcdef023881982106e2fa57100aa4b5dec362926a06a34278", "gr.js"),
16+
"0d316bcf4c5b580faf7166cd97b031d10ba76270042fc418c7dfbbdc6d27679f", "gr.js"),
1317
ArchiveSource("https://github.com/roblabla/MacOSX-SDKs/releases/download/macosx14.0/MacOSX14.0.sdk.tar.xz",
1418
"4a31565fd2644d1aec23da3829977f83632a20985561a2038e198681e7e7bf49")
1519
]
@@ -18,6 +22,8 @@ sources = [
1822
script = raw"""
1923
cd $WORKSPACE/srcdir/gr
2024
25+
apk del cmake
26+
2127
update_configure_scripts
2228
2329
make -C 3rdparty/qhull -j${nproc}
@@ -98,14 +104,24 @@ dependencies = [
98104
Dependency("libpng_jll"),
99105
Dependency("Libtiff_jll"; compat="4.7.1"),
100106
Dependency("Pixman_jll"),
101-
HostBuildDependency("Qt6Base_jll"),
102-
Dependency("Qt6Base_jll"; compat="~6.8.2"), # Never allow upgrading more than the minor version without recompilation
107+
Dependency("Qt6Base_jll"),
103108
BuildDependency("Xorg_libX11_jll"),
104109
BuildDependency("Xorg_xproto_jll"),
105110
Dependency("Zlib_jll"),
111+
HostBuildDependency(PackageSpec(; name="CMake_jll", version = "3.31.9")),
106112
]
107113

114+
platforms_win = filter(Sys.iswindows, platforms)
115+
platforms_rest = setdiff(platforms, platforms_win)
116+
108117
# Build the tarballs, and possibly a `build.jl` as well.
109-
# GCC version 13 because of Qt6.8
110-
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
111-
preferred_gcc_version = v"13", julia_compat="1.6")
118+
# GCC version 11 because of Qt6.10
119+
if any(should_build_platform.(triplet.(platforms_win)))
120+
# GCC 12 and before fail with internal compiler error on mingw
121+
build_tarballs(ARGS, name, version, sources, script, platforms_win, products, dependencies;
122+
preferred_gcc_version=v"13", julia_compat="1.6")
123+
end
124+
if any(should_build_platform.(triplet.(platforms_rest)))
125+
build_tarballs(ARGS, name, version, sources, script, platforms_rest, products, dependencies;
126+
preferred_gcc_version=v"11", julia_compat="1.6")
127+
end

0 commit comments

Comments
 (0)