aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-11-29 23:07:37 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-11-29 23:07:37 +0000
commit094fd2ddfb251b0f5e8bbca3c41902428bba9931 (patch)
tree7ad92cbdd006a7789d62c0167674e0ad70f70d60
parenta55da563454e8a0ebb6268122d8f29f8682e5b2f (diff)
downloadgcc-094fd2ddfb251b0f5e8bbca3c41902428bba9931.zip
gcc-094fd2ddfb251b0f5e8bbca3c41902428bba9931.tar.gz
gcc-094fd2ddfb251b0f5e8bbca3c41902428bba9931.tar.bz2
Allow 'make check-objc -j2'
2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com> Mike Stump <mikestump@comcast.net> Allow 'make check-objc -j2' * Make-lang.in (lang_checks_parallelized): New. (check_objc_parallelize): New. Co-Authored-By: Mike Stump <mikestump@comcast.net> From-SVN: r167277
-rw-r--r--gcc/objc/ChangeLog7
-rw-r--r--gcc/objc/Make-lang.in6
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 47c896a..adb56b9 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,4 +1,11 @@
2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
+ Mike Stump <mikestump@comcast.net>
+
+ Allow 'make check-objc -j2'
+ * Make-lang.in (lang_checks_parallelized): New.
+ (check_objc_parallelize): New.
+
+2010-11-29 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-act.c (start_class): When a class is reimplemented,
generate an error and avoid adding the class to the list of
diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
index 8259190..12aefd1 100644
--- a/gcc/objc/Make-lang.in
+++ b/gcc/objc/Make-lang.in
@@ -104,6 +104,12 @@ objc.tags: force
lang_checks += check-objc
+# The following allows you to do 'make check-objc -j2'. The
+# execute.exp tests will be run in parallel with all the other ones.
+# This is tuned for '-j2'.
+lang_checks_parallelized += check-objc
+check_objc_parallelize = execute.exp
+
#
# Install hooks:
# cc1obj is installed elsewhere as part of $(COMPILERS).