forked from OSchip/llvm-project
build/Makefiles: Don't build unittests when ONLY_TOOLS is set.
llvm-svn: 120196
This commit is contained in:
parent
feb1c5d830
commit
795ab9b06d
|
@ -99,6 +99,11 @@ ifeq ($(MAKECMDGOALS),install)
|
|||
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
|
||||
endif
|
||||
|
||||
# Don't build unittests when ONLY_TOOLS is set.
|
||||
ifneq ($(ONLY_TOOLS),)
|
||||
DIRS := $(filter-out unittests, $(DIRS))
|
||||
endif
|
||||
|
||||
# If we're cross-compiling, build the build-hosted tools first
|
||||
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||
all:: cross-compile-build-tools
|
||||
|
|
Loading…
Reference in New Issue