projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9536916
)
build/Makefiles: Don't build unittests when ONLY_TOOLS is set.
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 27 Nov 2010 06:59:16 +0000
(06:59 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 27 Nov 2010 06:59:16 +0000
(06:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120196
91177308
-0d34-0410-b5e6-
96231b3b80d8
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 3c6b953eb9ffc10d02f829d0492f20156837d0f2..abaacb49b7c56db95272fe3a4764b8826805d213 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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