Skip to content

Commit

Permalink
[GDAL] Add LERC v3 only (JuliaPackaging#9588)
Browse files Browse the repository at this point in the history
* [GDAL] Add LERC only

A more minimal predecessor to JuliaPackaging#9587 to hopefully be able to fix JuliaGeo/GDAL.jl#179 more quickly.

* Disable aarch64-freebsd for now
  • Loading branch information
visr authored and avik-pal committed Oct 25, 2024
1 parent d499700 commit 87fce16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion G/GDAL/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 = [
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 87fce16

Please sign in to comment.