Skip to content

Commit

Permalink
Add gpkg support (#79)
Browse files Browse the repository at this point in the history
* Enable SQlite

* Add sqlite dependencies
  • Loading branch information
benlee0423 authored Jan 12, 2024
1 parent 6692395 commit 8de3633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/Dockerfile.ngen
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ ARG REPO_URL \
NGEN_ACTIVATE_PYTHON="ON" \
NGEN_NETCDF_ACTIVE="ON" \
NGEN_ROUTING_ACTIVE="ON" \
NGEN_WITH_SQLITE="ON" \
NGEN_UDUNITS_ACTIVE="ON" \
NGEN_UDUNITS_QUIET="ON" \
BUILD_NGEN_SERIAL="true" \
Expand Down Expand Up @@ -130,6 +131,7 @@ RUN cd ${WORKDIR}/ngen \
-DBMI_FORTRAN_ACTIVE:BOOL=${NGEN_ACTIVATE_FORTRAN} \
-DNGEN_ACTIVATE_PYTHON:BOOL=${NGEN_ACTIVATE_PYTHON} \
-DNGEN_ACTIVATE_ROUTING:BOOL=${NGEN_ROUTING_ACTIVE} \
-DNGEN_WITH_SQLITE:BOOL=${NGEN_WITH_SQLITE} \
-DUDUNITS_ACTIVE:BOOL=${NGEN_UDUNITS_ACTIVE} \
-DUDUNITS_QUIET:BOOL=${NGEN_UDUNITS_QUIET} \
-DCMAKE_INSTALL_PREFIX=${WORKDIR} \
Expand All @@ -147,6 +149,7 @@ RUN cd ${WORKDIR}/ngen \
-DBMI_FORTRAN_ACTIVE:BOOL=${NGEN_ACTIVATE_FORTRAN} \
-DNGEN_ACTIVATE_PYTHON:BOOL=${NGEN_ACTIVATE_PYTHON} \
-DNGEN_ACTIVATE_ROUTING:BOOL=${NGEN_ROUTING_ACTIVE} \
-DNGEN_WITH_SQLITE:BOOL=${NGEN_WITH_SQLITE} \
-DUDUNITS_ACTIVE:BOOL=${NGEN_UDUNITS_ACTIVE} \
-DUDUNITS_QUIET:BOOL=${NGEN_UDUNITS_QUIET} \
-DCMAKE_INSTALL_PREFIX=${WORKDIR} \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.ngen-deps
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ARG REPO_URL=https://github.com/NOAA-OWP/ngen.git \
# netcdf-cxx4-devel netcdf-cxx4-mpich-devel netcdf-fortran-devel netcdf-fortran-mpich-devel \
# hdf5 hdf5-devel hdf5-mpich hdf5-mpich-devel \
# bzip2 expat expat-devel flex bison udunits2 udunits2-devel"
ROCKY_NGEN_DEPS_REQUIRED="sudo gcc gcc-c++ make cmake tar git gcc-gfortran libgfortran \
ROCKY_NGEN_DEPS_REQUIRED="sudo gcc gcc-c++ make cmake tar git gcc-gfortran libgfortran sqlite sqlite-devel \
python3 python3-devel python3-pip gdal gdal-devel\
bzip2 expat expat-devel flex bison udunits2 udunits2-devel zlib-devel" \
# TODO: removed texinfo from list because it couldn't be found; make sure this doesn't lead to issues
Expand Down

0 comments on commit 8de3633

Please sign in to comment.