Re: llvm dependency and space concerns

Поиск
Список
Период
Сортировка
От Jeremy Schneider
Тема Re: llvm dependency and space concerns
Дата
Msg-id 20250111132239.7880078f@ardentperf.com
обсуждение исходный текст
Ответ на Re: llvm dependency and space concerns  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: llvm dependency and space concerns
Список pgsql-hackers
On Sat, 11 Jan 2025 16:14:19 -0500
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Jeremy Schneider <schneider@ardentperf.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



В списке pgsql-hackers по дате отправления: