aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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).