Building Postgres 17.0 with meson

From: Mark Hill <Mark(dot)Hill(at)sas(dot)com>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Building Postgres 17.0 with meson
Date: 2024-11-06 04:29:37
Message-ID: DM6PR05MB5083D556B128E9FFA36E6400EE532@DM6PR05MB5083.namprd05.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm trying to build Postgres 17.0 and have about learning meson as I go.

The build setup command I have so far is:
meson setup build --prefix=%prefix% --buildtype=release -Dssl=auto -Dzlib=auto -Dicu=auto

but I believe that cmd expects ssl, zlib, and icu to be installed in default locations.

How do I specify to meson that I want it to use the versions of those 3 software packages that I have built

e.g. the openssl I want it to use is located in D:\Postgres-Builds\OpenSSL\OpenSSL-Install\OpenSSL-3.1.6-wx6

and similar locations for icu and zlib?

Thanks, Mark

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-11-06 04:44:58 Re: define pg_structiszero(addr, s, r)
Previous Message Amit Kapila 2024-11-06 04:26:18 Re: Pgoutput not capturing the generated columns