gcc/
2015-05-17 Jim Wilson <jim.wilson@linaro.org>
* Makefile.in (check_gcc_parallelize): Delete.
(lang_checks_parallelized): Update comment.
gcc/c
2015-05-17 Jim Wilson <wilson@lothlorien>
* Make-lang.in (check_gcc_pallelize): Define.
gcc/cp
2015-05-17 Jim Wilson <wilson@lothlorien>
* Make-lang.in (check_g++_parallelize): Update comment.
gcc/fortran
2015-05-17 Jim Wilson <wilson@lothlorien>
* Make-lang.in (check_gfortran_parallelize): Update comment.
===================================================================
@@ -528,10 +528,6 @@
xm_defines=@xm_defines@
lang_checks=
lang_checks_parallelized=
-# Upper limit to which it is useful to parallelize this lang target.
-# It doesn't make sense to try e.g. 128 goals for small testsuites
-# like objc or go.
-check_gcc_parallelize=10000
lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt
lang_specs_files=@lang_specs_files@
lang_tree_files=@lang_tree_files@
@@ -3743,7 +3739,9 @@
#
# To parallelize some language check, add the corresponding check-$lang
# to lang_checks_parallelized variable and define check_$lang_parallelize
-# variable (see above check_gcc_parallelize description).
+# variable. This is the upper limit to which it is useful to parallelize the
+# check-$lang target. It doesn't make sense to try e.g. 128 goals for small
+# testsuites like objc or go.
$(lang_checks_parallelized): check-% : site.exp
-rm -rf $(TESTSUITEDIR)/$*-parallel
@if [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
===================================================================
@@ -95,6 +95,8 @@
# List of targets that can use the generic check- rule and its // variant.
lang_checks += check-gcc
lang_checks_parallelized += check-gcc
+# For description see the check_$lang_parallelize comment in gcc/Makefile.in.
+check_gcc_parallelize=10000
# 'make check' in gcc/ looks for check-c. Redirect it to check-gcc.
check-c : check-gcc
===================================================================
@@ -155,7 +155,7 @@
# List of targets that can use the generic check- rule and its // variant.
lang_checks += check-g++
lang_checks_parallelized += check-g++
-# For description see comment above check_gcc_parallelize in gcc/Makefile.in.
+# For description see the check_$lang_parallelize comment in gcc/Makefile.in.
check_g++_parallelize = 10000
#
# Install hooks:
===================================================================
@@ -167,7 +167,7 @@
check-fortran-subtargets : check-gfortran-subtargets
lang_checks += check-gfortran
lang_checks_parallelized += check-gfortran
-# For description see comment above check_gcc_parallelize in gcc/Makefile.in.
+# For description see the check_$lang_parallelize comment in gcc/Makefile.in.
check_gfortran_parallelize = 10000
# GFORTRAN documentation.