Merge pull request #368 from pblottiere/explicit_lazperf_version

Explicitly set LazPerf version to v1.5 to add support in the Docker i…
This commit is contained in:
Paul Blottiere 2025-06-17 23:41:53 +02:00 committed by GitHub
commit e317d2c680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View File

@ -3,6 +3,7 @@ MAINTAINER Paul Blottiere <blottiere.paul@gmail.com>
ENV POSTGRES_VERSION 14
ENV POSTGIS_VERSION 3
ENV LAZPERF_VERSION 1.5.0
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
@ -22,9 +23,10 @@ RUN apt-get update \
postgresql-server-dev-all \
libxml2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& git clone https://github.com/verma/laz-perf.git \
&& git clone https://github.com/hobuinc/laz-perf.git \
&& cd laz-perf \
&& cmake . \
&& git checkout ${LAZPERF_VERSION} \
&& cmake -DWITH_TESTS=FALSE . \
&& make \
&& make install \
&& cd .. \

View File

@ -2,7 +2,7 @@
set -e
if [[ -f config.mk ]]; then
if [ -f config.mk ]; then
make clean maintainer-clean
fi

View File

@ -1,4 +1,4 @@
#!/bin/sh
set -ex
git clone https://github.com/verma/laz-perf.git
cd laz-perf; cmake .; make; sudo make install
git clone https://github.com/hobuinc/laz-perf.git
cd laz-perf; git checkout 1.5.0; cmake -DWITH_TESTS=FALSE .; make; sudo make install