Forgot to attach the patch I came up with.
Vassil
On 15/10/14 21:41, Vassil Vassilev wrote:
Hi folks,
If ENABLE_CLANG_ARCMT=0 it seems we don't build libclang, so the unittests for libclang should be disabled too. Please review.
Cheers,
Vassil
--- tools/clang/unittests/Makefile
+++ tools/clang/unittests/Makefile
@@ -22,6 +22,12 @@ ifeq ($(ENABLE_CLANG_ARCMT),1)
 PARALLEL_DIRS += Frontend
 endif
 
+# If ENABLE_CLANG_ARCMT=0 we don't build libclang, thus we don't have this
+# target available.
+ifeq ($(ENABLE_CLANG_ARCMT),0)
+PARALLEL_DIRS := $(filter-out libclang, $(PARALLEL_DIRS))
+endif
+
 endif  # CLANG_LEVEL
 
 include $(CLANG_LEVEL)/Makefile
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to