[PATCH] RE: gcc parallel make check

Yury Gribov y.gribov@samsung.com
Tue Sep 9 10:02:00 GMT 2014


On 09/09/2014 10:51 AM, VandeVondele Joost wrote:
 > Attached is an extended version of the patch,
 > it brings a 100% improvement in make -j32 -k check-gcc

First of all, many thanks for working on this.

+#   ls -1 | ../../../contrib/generate_tcl_patterns.sh 300 
"dg.exp=gfortran.dg/"

How does this work with subdirectories? Can we replace ls with find?

-check_p_numbers=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+check_p_numbers=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
+		21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

$(shell seq 1 40) ?

+  if (_assert_exit) exit 1

Haven't you already exited above?

 > A second part of the patch is a new file 
'contrib/generate_tcl_patterns.sh'
 > which generates the needed regexp

Can we provide a Makefile target to automatically update Makefile.in?

-Y



More information about the Gcc-patches mailing list