Re: meson vs. llvm bitcode files

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson vs. llvm bitcode files
Date: 2026-01-16 11:33:31
Message-ID: CAN55FZ3HTYjtooYWtGGhDQnSJWqPJmC+wszLGvnK36LwgC2uQA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Fri, 31 Oct 2025 at 15:13, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
>
> On Wed, 13 Aug 2025 at 16:25, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
> >
> > Hi,
> >
> > On Mon, 7 Jul 2025 at 11:45, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
> > >
> > > Mandatory rebase, v6 is attached.
> >
> > Rebase is needed due to 01d6832c10, v7 is attached.
>
> Rebase is needed due to 16607718c0, v8 is attached.

Rebase is needed. Also, there is small functional change in 0002:

def remove_duplicates(duplicate_str):
- words = duplicate_str.split()
+ # Remove duplicates based on basename as there could be a mix of both full
+ # paths and bare binary names.
+ words = [os.path.basename(word) for word in duplicate_str.split()]
return ' '.join(sorted(set(words), key=words.index))

It is because MacOS was failing due to there being 2 instances of
ccache, one is with full path '/opt/local/bin/ccache' and one is just
the binary name 'ccache'. remove_duplicates() function did not remove
them as it compared full strings before, now it compares only
basenames.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v9-0001-meson-Add-postgresql-extension.pc-for-building-ex.patch text/x-patch 4.5 KB
v9-0002-meson-Test-building-extensions-by-using-postgresq.patch text/x-patch 10.8 KB
v9-0003-meson-WIP-Add-docs-for-postgresql-extension.pc.patch text/x-patch 12.3 KB
v9-0004-meson-Add-architecture-for-LLVM-bitcode-emission.patch text/x-patch 8.9 KB
v9-0005-meson-Add-LLVM-bitcode-emissions-for-contrib-libr.patch text/x-patch 22.6 KB
v9-0006-meson-Add-LLVM-bitcode-emission-for-backend-sourc.patch text/x-patch 5.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2026-01-16 11:37:55 Re: Flush some statistics within running transactions
Previous Message jian he 2026-01-16 11:31:35 Re: support ALTER COLUMN SET EXPRESSION over virtual generated column with check constraint