Skip to content

Commit

Permalink
temporary postgis 3.5.0beta1 build -j1 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ImreSamu committed Sep 18, 2024
1 parent 75ed703 commit 80703b0
Show file tree
Hide file tree
Showing 24 changed files with 96 additions and 34 deletions.
3 changes: 2 additions & 1 deletion 12-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 12-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 13-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 13-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 14-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 14-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion 14-l3.1.9gcp/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 15-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 15-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 15-master/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 15-recent/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 16-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 16-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions 16-l3.5.0beta1/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 16-master/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 16-recent/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 17rc1-3.5/alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion 17rc1-3.5/alpine3.20/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions 17rc1-l3.5.0beta1/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 17rc1-master/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions 17rc1-recent/bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Dockerfile.alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ RUN set -eux \
&& ./autogen.sh \
&& ./configure \
--enable-lto \
{{ if .[env.variant].POSTGIS_CHECKOUT == "tags/3.5.0beta1" then ( -}}
# postgis=3.5.0beta1 -j1 workaround activated; https://trac.osgeo.org/postgis/ticket/5779
&& make -j1 \
{{ ) else ( -}}
&& make -j$(nproc) \
{{ ) end -}}
&& make install \
\
# This section is for refreshing the proj data for the regression tests.
Expand Down
13 changes: 11 additions & 2 deletions Dockerfile.master.template
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ RUN set -eux \
liblz4-dev \
liblzma-dev \
libwebp-dev \
libzstd-dev
libzstd-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

ARG PGIS1_CMAKE_BUILD_TYPE
ENV PGIS1_CMAKE_BUILD_TYPE=${PGIS1_CMAKE_BUILD_TYPE}
Expand Down Expand Up @@ -328,7 +330,9 @@ RUN set -eux \
libopenjp2-7-dev \
libpng-dev \
libqhull-dev \
libspatialite-dev
libspatialite-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
{{ ) else ( -}}
#
{{ ) end -}}
Expand Down Expand Up @@ -653,7 +657,12 @@ RUN set -eux \
# https://anonscm.debian.org/cgit/pkg-grass/postgis.git/tree/debian/rules?h=jessie
&& ./configure \
--enable-lto \
{{ if .[env.variant].POSTGIS_CHECKOUT == "tags/3.5.0beta1" then ( -}}
# postgis=3.5.0beta1 -j1 workaround activated; https://trac.osgeo.org/postgis/ticket/5779
&& make -j1 \
{{ ) else ( -}}
&& make -j$(nproc) \
{{ ) end -}}
&& make install \
# refresh proj data - workarounds: https://trac.osgeo.org/postgis/ticket/5316
&& if command -v projsync >/dev/null 2>&1; then \
Expand Down
2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80703b0

Please sign in to comment.