Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit08313b0

Browse files
committed
Fix extension build fail for PG_VERSION >= 11 due to enabled LLVM
1 parente87121b commit08313b0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎Dockerfile.tmpl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ RUN if [ "${CHECK_CODE}" = "cppcheck" ] ; then \
1313
fi
1414

1515
RUN if [ "${CHECK_CODE}" = "false" ] ; then \
16-
echo 'http://dl-3.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories; \
17-
apk --no-cache add curl python3 gcc make musl-dev;\
16+
# echo 'http://dl-3.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories; \
17+
# Use alpine/v3.6/main instead of alpine/edge/main to fix version of clang to '8.*.*'
18+
# Install clang as well, since LLVM is enabled in PG_VERSION >= 11 by default
19+
apk --no-cache add curl python3 gcc clang make musl-dev --repository http://dl-cdn.alpinelinux.org/alpine/v3.6/main;\
1820
fi
1921

2022
RUN mkdir -p /pg/data && \

‎run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ make USE_PGXS=1 install
4848
status=$?
4949
if [$status-ne 0 ];thenexit$status;fi
5050

51-
# addpg_pathman to shared_preload_libraries and restart cluster 'test'
51+
# addpg_wait_sampling to shared_preload_libraries and restart cluster 'test'
5252
echo"shared_preload_libraries = 'pg_wait_sampling'">>$PGDATA/postgresql.conf
5353
echo"port = 55435">>$PGDATA/postgresql.conf
5454
pg_ctl start -l /tmp/postgres.log -w

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp