File tree Expand file tree Collapse file tree 23 files changed +177
-44
lines changed Expand file tree Collapse file tree 23 files changed +177
-44
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ENV POSTGIS_MAJOR 2.5
66ENV POSTGIS_VERSION 2.5.5+dfsg-1.pgdg90+2
77
88RUN apt-get update \
9+ \
10+ # buildx debug info
11+ && uname -a \
12+ && uname -m \
13+ && lscpu \
14+ \
915 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1016 && apt-get install -y --no-install-recommends \
1117 # ca-certificates: for accessing remote raster files;
Original file line number Diff line number Diff line change @@ -90,11 +90,20 @@ RUN set -eux \
9090 && make -j$(nproc) \
9191 && make install \
9292 \
93+ # buildx platform check for debug.
94+ && uname -a \
95+ && uname -m \
96+ && cat /proc/cpuinfo \
97+ \
9398# regress check
9499 && mkdir /tempdb \
95100 && chown -R postgres:postgres /tempdb \
96101 && su postgres -c 'pg_ctl -D /tempdb init' \
97- && su postgres -c 'pg_ctl -D /tempdb start' \
102+ # testing with jit=off , huge_pages=off ---> for the buildx/qemu workflow
103+ && su postgres -c 'pg_ctl -o "--huge_pages=off" -o "--jit=off" -D /tempdb start' \
104+ && su postgres -c 'psql -c "SHOW JIT;"' \
105+ && su postgres -c 'psql -c "SHOW HUGE_PAGES;"' \
106+ \
98107 && cd regress \
99108 && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
100109 # && make -j$(nproc) check RUNTESTFLAGS=--dumprestore PGUSER=postgres \
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ENV POSTGIS_MAJOR 3
66ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
77
88RUN apt-get update \
9+ \
10+ # buildx debug info
11+ && uname -a \
12+ && uname -m \
13+ && lscpu \
14+ \
915 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1016 && apt-get install -y --no-install-recommends \
1117 # ca-certificates: for accessing remote raster files;
Original file line number Diff line number Diff line change @@ -90,11 +90,20 @@ RUN set -eux \
9090 && make -j$(nproc) \
9191 && make install \
9292 \
93+ # buildx platform check for debug.
94+ && uname -a \
95+ && uname -m \
96+ && cat /proc/cpuinfo \
97+ \
9398# regress check
9499 && mkdir /tempdb \
95100 && chown -R postgres:postgres /tempdb \
96101 && su postgres -c 'pg_ctl -D /tempdb init' \
97- && su postgres -c 'pg_ctl -D /tempdb start' \
102+ # testing with jit=off , huge_pages=off ---> for the buildx/qemu workflow
103+ && su postgres -c 'pg_ctl -o "--huge_pages=off" -o "--jit=off" -D /tempdb start' \
104+ && su postgres -c 'psql -c "SHOW JIT;"' \
105+ && su postgres -c 'psql -c "SHOW HUGE_PAGES;"' \
106+ \
98107 && cd regress \
99108 && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
100109 # && make -j$(nproc) check RUNTESTFLAGS=--dumprestore PGUSER=postgres \
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ENV POSTGIS_MAJOR 2.5
66ENV POSTGIS_VERSION 2.5.5+dfsg-1.pgdg90+2
77
88RUN apt-get update \
9+ \
10+ # buildx debug info
11+ && uname -a \
12+ && uname -m \
13+ && lscpu \
14+ \
915 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1016 && apt-get install -y --no-install-recommends \
1117 # ca-certificates: for accessing remote raster files;
Original file line number Diff line number Diff line change @@ -90,11 +90,20 @@ RUN set -eux \
9090 && make -j$(nproc) \
9191 && make install \
9292 \
93+ # buildx platform check for debug.
94+ && uname -a \
95+ && uname -m \
96+ && cat /proc/cpuinfo \
97+ \
9398# regress check
9499 && mkdir /tempdb \
95100 && chown -R postgres:postgres /tempdb \
96101 && su postgres -c 'pg_ctl -D /tempdb init' \
97- && su postgres -c 'pg_ctl -D /tempdb start' \
102+ # testing with jit=off , huge_pages=off ---> for the buildx/qemu workflow
103+ && su postgres -c 'pg_ctl -o "--huge_pages=off" -o "--jit=off" -D /tempdb start' \
104+ && su postgres -c 'psql -c "SHOW JIT;"' \
105+ && su postgres -c 'psql -c "SHOW HUGE_PAGES;"' \
106+ \
98107 && cd regress \
99108 && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
100109 # && make -j$(nproc) check RUNTESTFLAGS=--dumprestore PGUSER=postgres \
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ENV POSTGIS_MAJOR 3
66ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
77
88RUN apt-get update \
9+ \
10+ # buildx debug info
11+ && uname -a \
12+ && uname -m \
13+ && lscpu \
14+ \
915 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1016 && apt-get install -y --no-install-recommends \
1117 # ca-certificates: for accessing remote raster files;
Original file line number Diff line number Diff line change @@ -90,11 +90,20 @@ RUN set -eux \
9090 && make -j$(nproc) \
9191 && make install \
9292 \
93+ # buildx platform check for debug.
94+ && uname -a \
95+ && uname -m \
96+ && cat /proc/cpuinfo \
97+ \
9398# regress check
9499 && mkdir /tempdb \
95100 && chown -R postgres:postgres /tempdb \
96101 && su postgres -c 'pg_ctl -D /tempdb init' \
97- && su postgres -c 'pg_ctl -D /tempdb start' \
102+ # testing with jit=off , huge_pages=off ---> for the buildx/qemu workflow
103+ && su postgres -c 'pg_ctl -o "--huge_pages=off" -o "--jit=off" -D /tempdb start' \
104+ && su postgres -c 'psql -c "SHOW JIT;"' \
105+ && su postgres -c 'psql -c "SHOW HUGE_PAGES;"' \
106+ \
98107 && cd regress \
99108 && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
100109 # && make -j$(nproc) check RUNTESTFLAGS=--dumprestore PGUSER=postgres \
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ ENV POSTGIS_MAJOR 3
66ENV POSTGIS_VERSION 3.2.3+dfsg-1.pgdg110+1
77
88RUN apt-get update \
9+ \
10+ # buildx debug info
11+ && uname -a \
12+ && uname -m \
13+ && lscpu \
14+ \
915 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
1016 && apt-get install -y --no-install-recommends \
1117 # ca-certificates: for accessing remote raster files;
Original file line number Diff line number Diff line change @@ -90,11 +90,20 @@ RUN set -eux \
9090 && make -j$(nproc) \
9191 && make install \
9292 \
93+ # buildx platform check for debug.
94+ && uname -a \
95+ && uname -m \
96+ && cat /proc/cpuinfo \
97+ \
9398# regress check
9499 && mkdir /tempdb \
95100 && chown -R postgres:postgres /tempdb \
96101 && su postgres -c 'pg_ctl -D /tempdb init' \
97- && su postgres -c 'pg_ctl -D /tempdb start' \
102+ # testing with jit=off , huge_pages=off ---> for the buildx/qemu workflow
103+ && su postgres -c 'pg_ctl -o "--huge_pages=off" -o "--jit=off" -D /tempdb start' \
104+ && su postgres -c 'psql -c "SHOW JIT;"' \
105+ && su postgres -c 'psql -c "SHOW HUGE_PAGES;"' \
106+ \
98107 && cd regress \
99108 && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \
100109 # && make -j$(nproc) check RUNTESTFLAGS=--dumprestore PGUSER=postgres \
You can’t perform that action at this time.
0 commit comments