Re: failing to build preproc.c on solaris with sun studio - Mailing list pgsql-hackers

From Andres Freund
Subject Re: failing to build preproc.c on solaris with sun studio
Date
Msg-id 20220905213004.evaazio3wnjz77to@awork3.anarazel.de
Whole thread Raw
In response to Re: failing to build preproc.c on solaris with sun studio  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Hi,

On 2022-09-05 22:52:03 +0200, Peter Eisentraut wrote:
> On 04.09.22 16:55, Tom Lane wrote:
> > I guess we could proceed like this:
> > 
> > 1. Invent the --with option.  Temporarily make "make check" in ecpg
> > print a message but not fail if the option wasn't selected.
> > 
> > 2. Update buildfarm client to recognize the option and skip ecpg-check
> > if not selected.
> > 
> > 3. Sometime down the road, after everyone's updated their buildfarm
> > animals, flip ecpg "make check" to throw an error reporting that
> > ecpg wasn't built.
> 
> Why is this being proposed?

On slower machines / certain platforms it's the bottleneck during compilation
(as e.g. evidenced in this thread). There's no proper way to run check-world
exempting ecpg. Most changes don't involve ecpg in any way, so having every
developer build preproc.o etc isn't necessary.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: failing to build preproc.c on solaris with sun studio
Next
From: Tom Lane
Date:
Subject: Re: failing to build preproc.c on solaris with sun studio