summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-29 23:07:37 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-29 23:07:37 +0000
commit1569aee560480174582975eb26b1044ec44430ff (patch)
tree7ad92cbdd006a7789d62c0167674e0ad70f70d60
parent76dcfb3a78e7b5eb10ff33f820a0deef02a1d513 (diff)
downloadgcc-1569aee560480174582975eb26b1044ec44430ff.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167277 138bc75d-0d04-0410-961f-82ee72b054a4
-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 47c896a7073..adb56b913ef 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 8259190c51d..12aefd188f8 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).