11# Note that this script can accept some limited command-line arguments, run
22# `julia build_tarballs.jl --help` to see a usage message.
33using BinaryBuilder
4+ using Pkg: PackageSpec
5+
6+ const YGGDRASIL_DIR = " ../.."
7+ include (joinpath (YGGDRASIL_DIR, " fancy_toys.jl" ))
48
59name = " GR"
6- version = v " 0.73.22 "
10+ version = v " 0.73.23 "
711
812# Collection of sources required to complete build
913sources = [
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 = [
1822script = raw """
1923cd $WORKSPACE/srcdir/gr
2024
25+ apk del cmake
26+
2127update_configure_scripts
2228
2329make -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