[llvm-commits] [llvm] r70082 - in /llvm/trunk: docs/GettingStarted.html docs/MakefileGuide.html tools/Makefile
Chris Lattner
sabre at nondot.org
Sat Apr 25 15:08:52 PDT 2009
Author: lattner
Date: Sat Apr 25 17:08:52 2009
New Revision: 70082
URL: http://llvm.org/viewvc/llvm-project?rev=70082&view=rev
Log:
aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin!
Modified:
llvm/trunk/docs/GettingStarted.html
llvm/trunk/docs/MakefileGuide.html
llvm/trunk/tools/Makefile
Modified: llvm/trunk/docs/GettingStarted.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GettingStarted.html?rev=70082&r1=70081&r2=70082&view=diff
==============================================================================
--- llvm/trunk/docs/GettingStarted.html (original)
+++ llvm/trunk/docs/GettingStarted.html Sat Apr 25 17:08:52 2009
@@ -327,9 +327,9 @@
<p>Note that you will need about 1-3 GB of space for a full LLVM build in Debug
mode, depending on the system (it is so large because of all the debugging
information and the fact that the libraries are statically linked into multiple
-tools). If you do not need many of the tools and you are space-conscious,
-you can disable them individually in <tt>llvm/tools/Makefile</tt>. The Release
-build requires considerably less space.</p>
+tools). If you do not need many of the tools and you are space-conscious, you
+can pass <tt>ONLY_TOOLS="tools you need"</tt> to make. The Release build
+requires considerably less space.</p>
<p>The LLVM suite <i>may</i> compile on other platforms, but it is not
guaranteed to do so. If compilation is successful, the LLVM utilities should be
Modified: llvm/trunk/docs/MakefileGuide.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/MakefileGuide.html?rev=70082&r1=70081&r2=70082&view=diff
==============================================================================
--- llvm/trunk/docs/MakefileGuide.html (original)
+++ llvm/trunk/docs/MakefileGuide.html Sat Apr 25 17:08:52 2009
@@ -841,6 +841,8 @@
<dt><a name="MKDIR"><tt>MKDIR</tt></a><small>(defaulted)</small></dt>
<dd>Specifies the path to the <tt>mkdir</tt> tool that creates
directories.</dd>
+ <dt><a name="ONLY_TOOLS"><tt>ONLY_TOOLS</tt></a></dt>
+ <dd>If set, specifies the list of tools to build.</dd>
<dt><a name="PLATFORMSTRIPOPTS"><tt>PLATFORMSTRIPOPTS</tt></a></dt>
<dd>The options to provide to the linker to specify that a stripped (no
symbols) executable should be built.</dd>
Modified: llvm/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/Makefile?rev=70082&r1=70081&r2=70082&view=diff
==============================================================================
--- llvm/trunk/tools/Makefile (original)
+++ llvm/trunk/tools/Makefile Sat Apr 25 17:08:52 2009
@@ -22,6 +22,12 @@
lli gccas gccld llvm-extract llvm-db \
bugpoint llvm-bcanalyzer llvm-stub llvmc
+# Let users override the set of tools to build from the command line.
+ifdef ONLY_TOOLS
+ OPTIONAL_PARALLEL_DIRS :=
+ PARALLEL_DIRS := $(ONLY_TOOLS)
+endif
+
include $(LEVEL)/Makefile.config
ifeq ($(ENABLE_PIC),1)
More information about the llvm-commits
mailing list