pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: improving speed of make check-world
Date: Sun, 31 Aug 2014 18:08:26 +0200 (CEST)
Message-ID: <alpine.DEB.2.10.1408311801050.14824@sto> (raw)
In-Reply-To: <alpine.DEB.2.10.1408311125080.14824@sto>
References: <53ED9E6C.1080700@gmx.net>
	<alpine.DEB.2.10.1408311125080.14824@sto>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (22+ messages)  latest in thread

Message-ID: <alpine.DEB.2.10.1408311801050.14824@sto>
Permalink:  ../alpine.DEB.2.10.1408311801050.14824@sto/
Also on:    postgresql.org/message-id/alpine.DEB.2.10.1408311801050.14824@sto

 · 

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: pgsql-hackers@postgresql.org
  Cc: coelho@cri.ensmp.fr, peter_e@gmx.net
  Subject: Re: improving speed of make check-world
  In-Reply-To: <alpine.DEB.2.10.1408311801050.14824@sto>

* 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