llvm.org GIT mirror llvm / 0694290
aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70082 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
3 changed file(s) with 11 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
326326

Note that you will need about 1-3 GB of space for a full LLVM build in Debug

327327 mode, depending on the system (it is so large because of all the debugging
328328 information and the fact that the libraries are statically linked into multiple
329 tools). If you do not need many of the tools and you are space-conscious,
330 you can disable them individually in llvm/tools/Makefile. The Release
331 build requires considerably less space.

329 tools). If you do not need many of the tools and you are space-conscious, you
330 can pass ONLY_TOOLS="tools you need" to make. The Release build
331 requires considerably less space.

332332
333333

The LLVM suite may compile on other platforms, but it is not

334334 guaranteed to do so. If compilation is successful, the LLVM utilities should be
840840
MKDIR(defaulted)
841841
Specifies the path to the mkdir tool that creates
842842 directories.
843
ONLY_TOOLS
844
If set, specifies the list of tools to build.
843845
PLATFORMSTRIPOPTS
844846
The options to provide to the linker to specify that a stripped (no
845847 symbols) executable should be built.
2121 lli gccas gccld llvm-extract llvm-db \
2222 bugpoint llvm-bcanalyzer llvm-stub llvmc
2323
24 # Let users override the set of tools to build from the command line.
25 ifdef ONLY_TOOLS
26 OPTIONAL_PARALLEL_DIRS :=
27 PARALLEL_DIRS := $(ONLY_TOOLS)
28 endif
29
2430 include $(LEVEL)/Makefile.config
2531
2632 ifeq ($(ENABLE_PIC),1)