Re: improving speed of make check-world

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: improving speed of make check-world
Date: 2014-08-31 16:08:26
Message-ID: alpine.DEB.2.10.1408311801050.14824@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> # actual new tmp installation
> .tmp_install:
> $(RM) ./.tmp_install.*
> $(RM) -r ./tmp_install
> # create tmp installation...
> touch $@
>
> # tmp installation for the nonce
> .tmp_install.$(MAKE_NONCE): .tmp_install
> touch $@

Oops, I got it wrong, the install would not be reexecuted the second time.

Maybe someting more like:

ifdef USE_ONE_INSTALL
TMP_INSTALL = .tmp_install.once
else
TMP_INSTALL = .tmp_install.$(MAKE_NONCE)
endif

$(TMP_INSTALL):
$(RM) -r ./tmp_install .tmp_install.*
# do installation...
touch $@

So that the file target is different each time it is run. Hopefully.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2014-08-31 16:11:38 Re: Final Patch for GROUPING SETS - unrecognized node type: 347
Previous Message Andres Freund 2014-08-31 16:04:25 Re: Final Patch for GROUPING SETS - unrecognized node type: 347