Don't try to build compiler-rt if it happens to be checked out into projects/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-01-18 17:52:28 +00:00
parent 971fd79067
commit d58816f898

View File

@ -14,6 +14,9 @@ include $(LEVEL)/Makefile.config
# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now. # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
# Don't build compiler-rt either, it isn't designed to be built directly.
DIRS := $(filter-out compiler-rt,$(DIRS))
# Sparc cannot link shared libraries (libtool problem?) # Sparc cannot link shared libraries (libtool problem?)
ifeq ($(ARCH), Sparc) ifeq ($(ARCH), Sparc)
DIRS := $(filter-out sample, $(DIRS)) DIRS := $(filter-out sample, $(DIRS))