From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
Cc: jean.pierre.pelletier0 <jean.pierre.pelletier0@gmail.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: Add --with-llvm to the development snapshot build of Pg11
Date: Tue, 3 Apr 2018 21:30:33 +0200
Message-ID: <20180403193033.GB7530@msg.df7cb.de> (raw)
In-Reply-To: <20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de>
References: <20180402082915.GB30189@msg.df7cb.de>
<5ac236d0.8405c80a.9d062.24a0@mx.google.com>
<20180402142507.GA8727@msg.df7cb.de>
<20180402180943.7s74bs5klz55e3lv@alap3.anarazel.de>
<20180402181211.GA9956@msg.df7cb.de>
<20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de>
Re: Andres Freund 2018-04-02 <20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de>
> > (The worse bloat is actually in postgresql-server-dev-11 which now
> > also needs to depend on clang and llvm-dev.)
>
> I'm a lot less concerned about that, personally. If you're installing
> server headers you're already depending on a lot of other libraries, and
> you're not that likely to do so on production systems.
Actually not that many - the libs are rather small (at least before
the dependency on libicu-dev arrived), and more importantly, during
the libssl-dev/libssl1.0-dev unentangling during the stretch freeze, I
removed all the dependencies from libpq-dev so it doesn't
automatically pull in ssl, kerberos, icu, etc. (Which doesn't seem to
be a problem for most users, there have been only very few
complaints.)
libllvm4.0 needs 50 MB installed, postgresql-11 needs another 50 MB on
top of it.
postgresql-server-dev-11 is much fatter. Given postgresql-11 is
already installed (including libllvm4.0):
Die folgenden NEUEN Pakete werden installiert:
binfmt-support clang clang-4.0 libclang-common-4.0-dev libclang1-4.0 libffi-dev libjsoncpp1
libobjc-7-dev libobjc4 libtinfo-dev llvm llvm-4.0 llvm-4.0-dev llvm-4.0-runtime llvm-dev
llvm-runtime postgresql-server-dev-11
0 aktualisiert, 17 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
Es müssen 42,4 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 255 MB Plattenplatz zusätzlich benutzt.
(I'm not too much concerned either.)
> Hm, I guess there'd be build failures of extensions if llvm-$ver and
> clang aren't installed, because bitcode files will be automatically
> built. I don't think there's a dependency on llvm-$ver-dev however?
Afaict all extensions are (or were) failing now, yes. I have to
investigate llvm-dev vs. llvm, thanks for the pointer.
> Sizewise, the bitcode files for postgres and its extensions aren't that
> small. ~10MB compressed or such?
The Installed-Size of postgresql-11 went up from 22 MB to 42 MB, or
the like. The bigger increase is in number of files, unpacking the
.deb takes much longer now. Of 1517 files in postgresql-11, 968 are
bitcode files.
Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: myon@debian.org, andres@anarazel.de, jean.pierre.pelletier0@gmail.com
Subject: Re: Add --with-llvm to the development snapshot build of Pg11
In-Reply-To: <20180403193033.GB7530@msg.df7cb.de>
References: <20180402082915.GB30189@msg.df7cb.de> <5ac236d0.8405c80a.9d062.24a0@mx.google.com> <20180402142507.GA8727@msg.df7cb.de> <20180402180943.7s74bs5klz55e3lv@alap3.anarazel.de> <20180402181211.GA9956@msg.df7cb.de> <20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de> <20180403193033.GB7530@msg.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox