Skip to content

Commit

Permalink
Build tools.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed Sep 2, 2022
1 parent 5877860 commit ea08cbd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions M/MDAL/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ CMAKE_FLAGS=(-DCMAKE_INSTALL_PREFIX=$prefix
-DWITH_SQLITE3=ON
-DBUILD_STATIC=OFF
-DBUILD_SHARED=ON
-DBUILD_TOOLS=OFF
-DBUILD_TOOLS=ON
-DBUILD_EXTERNAL_DRIVERS=OFF)
#NetCDF is the most restrictive dependency as far as platform availability, so we'll use it where applicable but disable it otherwise
# NetCDF is the most restrictive dependency as far as platform availability, so we'll use it where applicable but disable it otherwise
if ! find ${libdir} -name "libnetcdf*.${dlext}" -exec false '{}' +; then
echo "Disabling NetCDF support"
CMAKE_FLAGS+=(-DWITH_NETCDF=ON)
else
CMAKE_FLAGS+=(-DWITH_NETCDF=OFF)
Expand Down Expand Up @@ -64,5 +65,5 @@ dependencies = [
]

# Build the tarballs, and possibly a `build.jl` as well.
#GDAL uses a preferred of 6 so match that
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6", preferred_gcc_version = v"6")
# GDAL uses a preferred of 6 so match that
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6", preferred_gcc_version=v"6")

0 comments on commit ea08cbd

Please sign in to comment.