Re: meson vs. llvm bitcode files

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: meson vs. llvm bitcode files
Date: 2026-07-02 21:50:13
Message-ID: CAN4CZFMJgY98+e_XtmCe-kfbQrH_qaQ+ej4hdagX0DSE2tjbmw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Everything seems to be properly working with the new version in my
tests, I only have a few minor comments:

+ <para>
+ When <productname>PostgreSQL</productname> is built with
+ <productname>Meson</productname>, it installs a
+ <literal>pkg-config</literal> file named
+ <literal>postgresql-&majorversion;-llvm-jit-bitcode.pc</literal>. It is
+ used internally to emit <acronym>LLVM</acronym> <acronym>JIT</acronym>
+ bitcode for the server and for selected
+ <filename>contrib</filename> modules, and it collects the same
+ compilation flags that are used to build the server itself.
+ </para>

Do we want to install these pc files even with -Dllvm=disabled?

diff --git a/src/tools/irlink b/src/tools/irlink
new file mode 100644
index 00000000000..6a03e4f5695
--- /dev/null
+++ b/src/tools/irlink

Shouldn't this file committed as executable?

+import shutil
+import subprocess
+import sys

Is shutil and sys used in the script?

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2026-07-02 21:52:02 Re: implement CAST(expr AS type FORMAT 'template')
Previous Message Masahiko Sawada 2026-07-02 21:49:56 Re: Report bytes and transactions actually sent downtream