File tree 4 files changed +10
-0
lines changed
4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
54
54
libxml2-dev \
55
55
libxslt-dev \
56
56
linux-headers \
57
+ llvm8-dev clang g++ \
57
58
make \
58
59
# openldap-dev \
59
60
openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111
112
--with-libxml \
112
113
--with-libxslt \
113
114
--with-icu \
115
+ --with-llvm \
114
116
&& make -j "$(nproc)" world \
115
117
&& make install-world \
116
118
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
54
54
libxml2-dev \
55
55
libxslt-dev \
56
56
linux-headers \
57
+ llvm8-dev clang g++ \
57
58
make \
58
59
# openldap-dev \
59
60
openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111
112
--with-libxml \
112
113
--with-libxslt \
113
114
--with-icu \
115
+ --with-llvm \
114
116
&& make -j "$(nproc)" world \
115
117
&& make install-world \
116
118
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ RUN set -ex \
54
54
libxml2-dev \
55
55
libxslt-dev \
56
56
linux-headers \
57
+ llvm8-dev clang g++ \
57
58
make \
58
59
# openldap-dev \
59
60
openssl-dev \
@@ -111,6 +112,7 @@ RUN set -ex \
111
112
--with-libxml \
112
113
--with-libxslt \
113
114
--with-icu \
115
+ --with-llvm \
114
116
&& make -j "$(nproc)" world \
115
117
&& make install-world \
116
118
&& make -C contrib install \
Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ for version in "${versions[@]}"; do
96
96
if [ " $majorVersion " -gt 11 ]; then
97
97
sed -i ' /backwards compat/d' " $version /$variant /Dockerfile"
98
98
fi
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
99
103
100
104
travisEnv=" \n - VERSION=$version VARIANT=$variant$travisEnv "
101
105
done
You can’t perform that action at this time.
0 commit comments