This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Add makefile for cross-configuration torture test


On Thu, 2011-04-14 04:12:31 -0400, Joern Rennecke <joern.rennecke@embecosm.com> 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=$(subst SCRIPTS,`pwd`/../scripts/,$(subst OPT,$(empty) -,$@)) \
> +	--enable-werror-always ${host_options} --enable-languages=all,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

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
  Signature of:                        Lauf nicht vor Deinem GlÃck davon:
  the second  :                             Es kÃnnte hinter Dir stehen!

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]