public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Dunstan <[email protected]>
To: Thomas Munro <[email protected]>
To: [email protected]
Cc: Jacob Champion <[email protected]>
Cc: Daniel Gustafsson <[email protected]>
Subject: Re: FYI for build farm owners: new oauth feature using libcurl
Date: Tue, 4 Mar 2025 09:15:07 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+hUKG+eL5FJWqofy8PR+dpY+2kzAcnn=6JWnN0mFaTi_oXPfA@mail.gmail.com>
References: <CA+hUKG+eL5FJWqofy8PR+dpY+2kzAcnn=6JWnN0mFaTi_oXPfA@mail.gmail.com>


On 2025-03-02 Su 8:32 PM, Thomas Munro wrote:
> Hi,
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b3f0be788
> introduced a new oauth feature that uses libcurl and has tests.  You
> may want to consider installing libcurl and putting "oauth" into
> PG_TEST_EXTRA for coverage.  The systems that can use the new feature
> are:
>
>   * those with timerfd and epoll: Linux and probably illumos
>   * those with kqueue: macOS and *BSD
>


You will also need to enable building with libcurl or none of that will 
matter. That means adding "--with-libcurl" to the config_opts if you're 
using configure/make, or "-Dlibcurl=enabled" to the meson_opts if you're 
using meson.

Since this is branch-specific, you need to do it something like this at 
the bottom of your config file:


if ($branch eq 'HEAD' || $branch ge 'REL_18')
{
         push @{$conf{config_opts}}, '--with-libcurl';
         push @{$conf{meson_opts}}, '-Dlibcurl=enabled';
}


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com







view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: FYI for build farm owners: new oauth feature using libcurl
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox