llvm.org GIT mirror llvm / a1e1319
build/Makefiles: Don't build unittests when ONLY_TOOLS is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120196 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 8 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
9696 # if the directory is installed or not
9797 ifeq ($(MAKECMDGOALS),install)
9898 OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
99 endif
100
101 # Don't build unittests when ONLY_TOOLS is set.
102 ifneq ($(ONLY_TOOLS),)
103 DIRS := $(filter-out unittests, $(DIRS))
99104 endif
100105
101106 # If we're cross-compiling, build the build-hosted tools first