aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-10-08 00:27:38 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-10-08 00:27:38 +0000
commit0be07d39b1815536fadebf447008ff1ae9a78869 (patch)
tree6fc6f18ea3a66646d462d847313fd95f5459a7ce /Makefile
parent27781b78e111a1d276dd3cd604b0cdfa662f1f4e (diff)
downloadexternal_llvm-0be07d39b1815536fadebf447008ff1ae9a78869.zip
external_llvm-0be07d39b1815536fadebf447008ff1ae9a78869.tar.gz
external_llvm-0be07d39b1815536fadebf447008ff1ae9a78869.tar.bz2
Add clang-tblgen to OPTIONAL_DIRS when building native tools for the
cross build, so that a native version of clang-tblgen is available. Should unbreak Clang cross build. Also disable Polly for the native tool build, since it depends on external libraries which may not be available, and it isn't required anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2a36a7a..a350cb1 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ ifneq ($(findstring llvmCore, $(RC_ProjectName)),llvmCore) # Normal build (not
ifeq ($(BUILD_DIRS_ONLY),1)
DIRS := lib/Support lib/TableGen utils
- OPTIONAL_DIRS :=
+ OPTIONAL_DIRS := tools/clang/utils/TableGen
else
DIRS := lib/Support lib/TableGen utils lib/VMCore lib tools/llvm-shlib \
tools/llvm-config tools runtime docs unittests
@@ -118,7 +118,8 @@ cross-compile-build-tools:
unset CFLAGS ; \
unset CXXFLAGS ; \
$(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
- --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
+ --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE) \
+ --disable-polly ; \
cd .. ; \
fi; \
(unset SDKROOT; \