Re: Add --with-llvm to the development snapshot build of Pg11

From: Andres Freund <andres(at)anarazel(dot)de>
To: Christoph Berg <myon(at)debian(dot)org>, "jean(dot)pierre(dot)pelletier0" <jean(dot)pierre(dot)pelletier0(at)gmail(dot)com>, pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: Add --with-llvm to the development snapshot build of Pg11
Date: 2018-04-02 18:24:19
Message-ID: 20180402182419.5bbevkbbscsjvw3s@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Hi,

On 2018-04-02 20:12:11 +0200, Christoph Berg wrote:
> Re: Andres Freund 2018-04-02 <20180402180943(dot)7s74bs5klz55e3lv(at)alap3(dot)anarazel(dot)de>
> > Are you planning to put the JIT related stuff in a separate package?
> > It's setup so you can put
> > pkglibdir/{llvmjit_types.bc,llvmjit.so,bitcode/} in a separate package,
> > and not have a dependency to LLVM from the main server package.
>
> I was pondering eventually doing that, yes. So far it's directly in
> the postgresql-11 package.

Ok.

> (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.

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?

Sizewise, the bitcode files for postgres and its extensions aren't that
small. ~10MB compressed or such?

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2018-04-03 19:30:33 Re: Add --with-llvm to the development snapshot build of Pg11
Previous Message Christoph Berg 2018-04-02 18:12:11 Re: Add --with-llvm to the development snapshot build of Pg11