File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
5454libxml2-dev \
5555libxslt-dev \
5656linux-headers \
57+ llvm8-dev clang g++ \
5758make \
5859# openldap-dev \
5960openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111112--with-libxml \
112113--with-libxslt \
113114--with-icu \
115+ --with-llvm \
114116&& make -j "$(nproc)" world \
115117&& make install-world \
116118&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
5454libxml2-dev \
5555libxslt-dev \
5656linux-headers \
57+ llvm8-dev clang g++ \
5758make \
5859# openldap-dev \
5960openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111112--with-libxml \
112113--with-libxslt \
113114--with-icu \
115+ --with-llvm \
114116&& make -j "$(nproc)" world \
115117&& make install-world \
116118&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
5454libxml2-dev \
5555libxslt-dev \
5656linux-headers \
57+ llvm8-dev clang g++ \
5758make \
5859# openldap-dev \
5960openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111112--with-libxml \
112113--with-libxslt \
113114--with-icu \
115+ --with-llvm \
114116&& make -j "$(nproc)" world \
115117&& make install-world \
116118&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ for version in "${versions[@]}"; do
9696if [ " $majorVersion " -gt 11 ]; then
9797sed -i ' /backwards compat/d' " $version /$variant /Dockerfile"
9898fi
99+ if [ " $majorVersion " -lt 11 ]; then
100+ # JIT / LLVM is only supported in PostgreSQL 11+ (https://github.com/docker-library/postgres/issues/475)
101+ sed -i ' /llvm/d' " $version /$variant /Dockerfile"
102+ fi
99103
100104travisEnv=" \n - VERSION=$version VARIANT=$variant$travisEnv "
101105done
You can’t perform that action at this time.
0 commit comments