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


Quoting Jan-Benedict Glaw <jbglaw@lug-owl.de>:

On Thu, 2011-04-14 04:12:31 -0400, Joern Rennecke <joern.rennecke@embecosm.com> wrote:
...
+$(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?

25 sub-makes talking at once, sending an aggregate average of 55.8 Kbit/sec down my link for over four hours? No, thanks.

Now and then I might want to monitor an individual build for a short while,
which I can do with tail -f of the appropriate log file.  And stop with ^C
without perturbing the build.

You might also note that the recommended way to run this make is with nohup;
if for any reason you loose your connection, the build still goes on.


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