Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3Rdh-00036x-Sj for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 03 Apr 2018 19:30:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3Rdg-0008SS-HH for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 03 Apr 2018 19:30:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3Rdg-0008SI-CL for pgsql-pkg-debian@lists.postgresql.org; Tue, 03 Apr 2018 19:30:40 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3Rdd-0007dt-MO for pgsql-pkg-debian@postgresql.org; Tue, 03 Apr 2018 19:30:39 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1474:d80:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 40FzhW1Bn6z3F1s; Tue, 3 Apr 2018 21:30:35 +0200 (CEST) Date: Tue, 3 Apr 2018 21:30:33 +0200 From: Christoph Berg To: Andres Freund Cc: "jean.pierre.pelletier0" , pgsql-pkg-debian@postgresql.org Subject: Re: Add --with-llvm to the development snapshot build of Pg11 Message-ID: <20180403193033.GB7530@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Andres Freund , "jean.pierre.pelletier0" , pgsql-pkg-debian@postgresql.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de> User-Agent: Mutt/1.9.2 (2017-12-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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