aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-08-27 22:52:51 +0200
committerLinaro Code Review <review@review.linaro.org>2015-09-10 19:28:51 +0000
commit15a6021253f2cc4c832fd7ddb1469d3f0b281c91 (patch)
tree278e908e3e9059365d2d28287a574a198ac1a262
parent6207a15b1e420897867b8c32cba3deec2354ca0f (diff)
gcc/
Backport from trunk r223597. 2015-05-22 Jim Wilson <jim.wilson@linaro.org> * Makefile.in (check_gcc_parallelize): Delete. (lang_checks_parallelized): Update comment. gcc/c/ Backport from trunk r223597. 2015-05-22 Jim Wilson <jim.wilson@linaro.org> * Make-lang.in (check_gcc_pallelize): Define. gcc/cp/ Backport from trunk r223597. 2015-05-22 Jim Wilson <jim.wilson@linaro.org> * Make-lang.in (check_g++_parallelize): Update comment. gcc/fortran/ Backport from trunk r223597. 2015-05-22 Jim Wilson <jim.wilson@linaro.org> * Make-lang.in (check_gfortran_parallelize): Update comment. Change-Id: I5d1bcf62f2a3eac9517d89da8152f2020878be1c
-rw-r--r--gcc/Makefile.in8
-rw-r--r--gcc/c/Make-lang.in2
-rw-r--r--gcc/cp/Make-lang.in2
-rw-r--r--gcc/fortran/Make-lang.in2
4 files changed, 7 insertions, 7 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8d4e39ab128..a9160b43264 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -527,10 +527,6 @@ xm_include_list=@xm_include_list@
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@
@@ -3740,7 +3736,9 @@ check_p_subdirs=$(wordlist 1,$(check_p_count),$(wordlist 1, \
#
# 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 \
diff --git a/gcc/c/Make-lang.in b/gcc/c/Make-lang.in
index 64285d9d6e3..85365fd0116 100644
--- a/gcc/c/Make-lang.in
+++ b/gcc/c/Make-lang.in
@@ -95,6 +95,8 @@ c.srcman:
# 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
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index 07568e1e249..a0847be4a2d 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -155,7 +155,7 @@ check-c++-subtargets : check-g++-subtargets
# 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:
diff --git a/gcc/fortran/Make-lang.in b/gcc/fortran/Make-lang.in
index 2dc294f8cab..807c29e6bf0 100644
--- a/gcc/fortran/Make-lang.in
+++ b/gcc/fortran/Make-lang.in
@@ -167,7 +167,7 @@ check-f95-subtargets : check-gfortran-subtargets
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.