Re: llvm dependency and space concerns

From: Jeremy Schneider <schneider(at)ardentperf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: llvm dependency and space concerns
Date: 2025-01-11 21:22:39
Message-ID: 20250111132239.7880078f@ardentperf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 11 Jan 2025 16:14:19 -0500
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Jeremy Schneider <schneider(at)ardentperf(dot)com> writes:
> > Given the large number of bytes that LLVM pulls into a postgres
> > build, I think it would be a good idea to have the ability to split
> > it into a separate [recommended, but optional] package.
>
> Build without --with-llvm. Alternatively, split lib/llvmjit.so and
> lib/bitcode/ into a separate package. These are matters for packagers
> not the core project ...

This was my initial idea too, I was thinking to have a "normal"
postgres package and an additional a "slim" or "nojit" postgres package
(this was my original topic on the packagers list).

We would have to update dependencies for the dozens of packages like
extensions, wal2json, pgtop, and all the rest to take either of these
base postgres packages, and we have to deal with the two base packages
that potentially conflict with each other.

It's a cleaner solution if JIT works more like an extension, and we can
run a single build and split JIT into a separate package.

-Jeremy

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mahendra Singh Thalor 2025-01-11 21:30:52 Re: Non-text mode for pg_dumpall
Previous Message Tom Lane 2025-01-11 21:14:19 Re: llvm dependency and space concerns