forked from duckdb/duckdb-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpgconfigure
28 lines (27 loc) · 832 Bytes
/
pgconfigure
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
rm -rf postgres
mkdir postgres
curl -s -v --retry 5 -L https://github.com/postgres/postgres/archive/refs/tags/REL_15_2.tar.gz | tar xz --strip-components 1 -C postgres
if [ "$OS" = "Windows_NT" ]; then
(cd postgres/src/tools/msvc/ && perl mkvcbuild.pl)
else
(cd postgres && CC=gcc CXX=g++ ./configure \
--without-llvm \
--without-icu \
--without-tcl \
--without-perl \
--without-python \
--without-gssapi \
--without-pam \
--without-bsd-auth \
--without-ldap \
--without-bonjour \
--without-selinux \
--without-systemd \
--without-readline \
--without-libxml \
--without-libxslt \
--without-zlib \
--without-lz4 \
--without-openssl > /dev/null)
fi