From 2383e3f666fdc9aa697848317a2d63f4a92401dd Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Thu, 10 Oct 2024 15:21:39 +0200 Subject: [PATCH] [GDAL] Add LERC v3 only (#9588) * [GDAL] Add LERC only A more minimal predecessor to #9587 to hopefully be able to fix https://github.com/JuliaGeo/GDAL.jl/issues/179 more quickly. * Disable aarch64-freebsd for now --- G/GDAL/build_tarballs.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/G/GDAL/build_tarballs.jl b/G/GDAL/build_tarballs.jl index ea9995b483c..5dddca8a0d7 100644 --- a/G/GDAL/build_tarballs.jl +++ b/G/GDAL/build_tarballs.jl @@ -4,7 +4,7 @@ using BinaryBuilder, Pkg name = "GDAL" upstream_version = v"3.9.2" -version_offset = v"1.1.0" +version_offset = v"1.1.1" version = VersionNumber(upstream_version.major * 100 + version_offset.major, upstream_version.minor * 100 + version_offset.minor, upstream_version.patch * 100 + version_offset.patch) @@ -65,6 +65,7 @@ CMAKE_FLAGS=(-DCMAKE_INSTALL_PREFIX=${prefix} -DGDAL_USE_GEOS=ON -DGDAL_USE_GEOTIFF=ON -DGDAL_USE_GIF=OFF # Breaks GDAL on Windows as of Giflib_jll v5.2.2 (#8781) + -DGDAL_USE_LERC=ON -DGDAL_USE_LIBLZMA=ON -DGDAL_USE_LIBXML2=ON -DGDAL_USE_LZ4=ON @@ -111,6 +112,8 @@ install_license ../LICENSE.TXT # These are the platforms we will build for by default, unless further # platforms are passed in on the command line platforms = expand_cxxstring_abis(supported_platforms()) +# Disable until the dependencies are available for this platform +filter!(p -> !(Sys.isfreebsd(p) && arch(p) == "aarch64"), platforms) # The products that we will ensure are always built products = [ @@ -190,6 +193,7 @@ dependencies = [ Dependency("Expat_jll"; compat="2.2.10"), Dependency("GEOS_jll"; compat="3.11.2"), Dependency("HDF5_jll"; compat="~1.14.3", platforms=hdf5_platforms), + Dependency("LERC_jll"; compat="3"), Dependency("LibCURL_jll"; compat="7.73,8"), Dependency("LibPQ_jll"), Dependency("Libtiff_jll"; compat="4.5.1"),