llvm.org GIT mirror llvm / 0be07d3
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 Peter Collingbourne 7 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2727
2828 ifeq ($(BUILD_DIRS_ONLY),1)
2929 DIRS := lib/Support lib/TableGen utils
30 OPTIONAL_DIRS :=
30 OPTIONAL_DIRS := tools/clang/utils/TableGen
3131 else
3232 DIRS := lib/Support lib/TableGen utils lib/VMCore lib tools/llvm-shlib \
3333 tools/llvm-config tools runtime docs unittests
117117 unset CFLAGS ; \
118118 unset CXXFLAGS ; \
119119 $(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \
120 --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE); \
120 --host=$(BUILD_TRIPLE) --target=$(BUILD_TRIPLE) \
121 --disable-polly ; \
121122 cd .. ; \
122123 fi; \
123124 (unset SDKROOT; \