From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18938 invoked by alias); 14 Apr 2011 14:15:47 -0000 Received: (qmail 18928 invoked by uid 22791); 14 Apr 2011 14:15:46 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lug-owl.de (HELO lug-owl.de) (195.71.106.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Apr 2011 14:15:40 +0000 Received: by lug-owl.de (Postfix, from userid 1001) id A7051F00A7; Thu, 14 Apr 2011 16:15:37 +0200 (CEST) Date: Thu, 14 Apr 2011 14:15:00 -0000 From: Jan-Benedict Glaw To: Joern Rennecke Cc: Ralf Wildenhues , "Joseph S. Myers" , gcc-patches@gcc.gnu.org Subject: Re: RFA: Add makefile for cross-configuration torture test Message-ID: <20110414141537.GA27137@lug-owl.de> References: <20110413064931.woxgk0qnqm8swoow-nzlynne@webmail.spamcop.net> <20110413140647.provnjxog4og0o84-nzlynne@webmail.spamcop.net> <20110413170227.e7wggimm0wo0ko4k-nzlynne@webmail.spamcop.net> <20110414055124.GA8704@gmx.de> <20110414041231.xfz3vsftc8o0og0g-nzlynne@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <20110414041231.xfz3vsftc8o0og0g-nzlynne@webmail.spamcop.net> X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg01074.txt.bz2 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1067 On Thu, 2011-04-14 04:12:31 -0400, Joern Rennecke wrote: > --- contrib/config-list.mk (revision 0) > +++ contrib/config-list.mk (revision 0) > @@ -0,0 +1,98 @@ [...] > +$(LIST): make-log-dir make-script-dir > + -mkdir $@ > + (cd $@ && \ > + ../../gcc/configure \ > + --target=3D$(subst SCRIPTS,`pwd`/../scripts/,$(subst OPT,$(empty) -,$@)= ) \ > + --enable-werror-always ${host_options} --enable-languages=3Dall,ada,go)= \ > + > log/$@-config.out 2>&1 > + > +$(LOGFILES) : log/%-make.out : % > + -$(MAKE) -C $< $(TEST) > $@ 2>&1 && rm -rf $< I don't know how chatty you all like your Makefiles to be, but what about putting `tee' into the output redirection? Other than that, I like that approach. A nice, fast way to build a hugh number of supposed-to-work configurations. MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: Lauf nicht vor Deinem Gl=C3=BCck dav= on: the second : Es k=C3=B6nnte hinter Dir stehe= n! --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2nAYkACgkQHb1edYOZ4bsZsACcCYSnbDEY83wxCWcVBBaEMyLn SiYAniPvakaHUSWgqUk4BQUBeMdaaWCP =p7G9 -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--