[llvm-branch-commits] [cfe-branch] r102943 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Mon May 3 13:11:36 PDT 2010
Author: ddunbar
Date: Mon May 3 15:11:36 2010
New Revision: 102943
URL: http://llvm.org/viewvc/llvm-project?rev=102943&view=rev
Log:
When building a bootstrapped compiler, only build/install Clang itself in stage
1. This should speed up the build a bit.
Also, add --without-llvm{gcc,gxx} and --disable-bindings to configure line.
Modified:
cfe/branches/Apple/whitney-IB/ClangBNI.mk
Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=102943&r1=102942&r2=102943&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Mon May 3 15:11:36 2010
@@ -170,6 +170,8 @@
$(Assertions_Configure_Flag) \
--with-optimize-option="$(Clang_Optimize_Option)" \
--with-extra-options="$(Clang_Extra_Options)" \
+ --without-llvmgcc --without-llvmgxx \
+ --disable-bindings \
--disable-doxygen
# Set up any additional Clang install targets.
@@ -337,8 +339,8 @@
build-clang_stage1: configure-clang_stage1
$(_v) for arch in $(RC_ARCHS) ; do \
echo "Building (Stage 1) for $$arch..." && \
- $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch $(Build_Target) || exit 1; \
- $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch install || exit 1; \
+ $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch clang-only || exit 1; \
+ $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch install-clang || exit 1; \
done
configure-clang_final: $(Final_Configure_Target)
More information about the llvm-branch-commits
mailing list