pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andrew Gierth <rhodiumtoad@postgresql.org>
Cc: Postgres commits <pgsql-committers@postgresql.org>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Allow extensions to install built as well as unbuilt headers.
Date: Wed, 5 Sep 2018 22:16:08 -0700
Message-ID: <20180906051608.GI2726@paquier.xyz> (raw)
In-Reply-To: <E1fxfcT-00069A-V6@gemulon.postgresql.org>
References: <E1fxfcT-00069A-V6@gemulon.postgresql.org>

Hi Andrew,

On Wed, Sep 05, 2018 at 09:45:49PM +0000, Andrew Gierth wrote:
> Allow extensions to install built as well as unbuilt headers.
> 
> Commit df163230b overlooked the case that an out-of-tree extension
> might need to build its header files (e.g. via ./configure). If it is
> also doing a VPATH build, the HEADERS_* rules in the original commit
> would then fail to find the files, since they would be looking only
> under $(srcdir) and not in the build directory.
> 
> Fix by adding HEADERS_built and HEADERS_built_$(MODULE) which behave
> like DATA_built in that they look in the build dir rather than the
> source dir (and also make the files dependencies of the "all" target).
> 
> No Windows support appears to be needed for this, since it is only
> relevant to out-of-tree builds (no support exists in Mkvcbuild.pm to
> build extension header files in any case).

prairiedog is unhappy with this commit:
make -C ../../../contrib/spi
../../src/makefiles/pgxs.mk:140: Extraneous text after `else' directive
../../src/makefiles/pgxs.mk:144: *** only one `else' per conditional.
Stop.
make[2]: *** [submake-contrib-spi] Error 2
make[2]: *** Waiting for unfinished jobs....
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2018-09-05%2023%3A21%3A01
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (10+ messages)  latest in thread

Message-ID: <20180906051608.GI2726@paquier.xyz>
Permalink:  ../20180906051608.GI2726@paquier.xyz/
Also on:    postgresql.org/message-id/20180906051608.GI2726@paquier.xyz

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, rhodiumtoad@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Allow extensions to install built as well as unbuilt headers.
  In-Reply-To: <20180906051608.GI2726@paquier.xyz>
  References: <E1fxfcT-00069A-V6@gemulon.postgresql.org> <20180906051608.GI2726@paquier.xyz>

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

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