[Makefile] If ENABLE_CLANG_ARCMT=0 it seems we don't build libclang, so the unittests for libclang should be disabled too.

This is a modified patch provided by Vassil Vassilev.

llvm-svn: 220965
This commit is contained in:
Argyrios Kyrtzidis 2014-10-31 16:44:30 +00:00
parent 3e8bc6a8c3
commit d92da47707

View File

@ -14,13 +14,13 @@ ifndef CLANG_LEVEL
IS_UNITTEST_LEVEL := 1
CLANG_LEVEL := ..
PARALLEL_DIRS = CodeGen Basic Lex Driver libclang Format ASTMatchers AST Tooling \
PARALLEL_DIRS = CodeGen Basic Lex Driver Format ASTMatchers AST Tooling \
Sema
include $(CLANG_LEVEL)/../..//Makefile.config
ifeq ($(ENABLE_CLANG_ARCMT),1)
PARALLEL_DIRS += Frontend
PARALLEL_DIRS += Frontend libclang
endif
endif # CLANG_LEVEL