Man page generated from reStructuredText.
.
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
.
.
"LLVM-BUILD" "1" "2016-07-10" "3.8" "LLVM"
NAME
llvm-build - LLVM Project Build Utility
.
.nr rst2man-indent-level 0
.
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.rstReportMargin pre:. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
..
SYNOPSIS
llvm-build [options]
DESCRIPTION
llvm-build is a tool for working with LLVM projects that use the LLVMBuild
system for describing their components.
At heart, llvm-build is responsible for loading, verifying, and manipulating
the project\(aqs component data. The tool is primarily designed for use in
implementing build systems and tools which need access to the project structure
information.
OPTIONS
-h, --help
NDENT 0.0 NDENT 3.5 Print the builtin program help.
NINDENT NINDENT --source-root=PATH
NDENT 0.0 NDENT 3.5 If given, load the project at the given source root path. If this option is not
given, the location of the project sources will be inferred from the location of
the llvm-build script itself.
NINDENT NINDENT --print-tree
NDENT 0.0 NDENT 3.5 Print the component tree for the project.
NINDENT NINDENT --write-library-table
NDENT 0.0 NDENT 3.5 Write out the C++ fragment which defines the components, library names, and
required libraries. This C++ fragment is built into llvm-config|llvm-config
in order to provide clients with the list of required libraries for arbitrary
component combinations.
NINDENT NINDENT --write-llvmbuild
NDENT 0.0 NDENT 3.5 Write out new LLVMBuild.txt files based on the loaded components. This is
useful for auto-upgrading the schema of the files. llvm-build will try to a
limited extent to preserve the comments which were written in the original
source file, although at this time it only preserves block comments that precede
the section names in the LLVMBuild files.
NINDENT NINDENT --write-cmake-fragment
NDENT 0.0 NDENT 3.5 Write out the LLVMBuild in the form of a CMake fragment, so it can easily be
consumed by the CMake based build system. The exact contents and format of this
file are closely tied to how LLVMBuild is integrated with CMake, see LLVM\(aqs
top-level CMakeLists.txt.
NINDENT NINDENT --write-make-fragment
NDENT 0.0 NDENT 3.5 Write out the LLVMBuild in the form of a Makefile fragment, so it can easily be
consumed by a Make based build system. The exact contents and format of this
file are closely tied to how LLVMBuild is integrated with the Makefiles, see
LLVM\(aqs Makefile.rules.
NINDENT NINDENT --llvmbuild-source-root=PATH
NDENT 0.0 NDENT 3.5 If given, expect the LLVMBuild files for the project to be rooted at the
given path, instead of inside the source tree itself. This option is primarily
designed for use in conjunction with --write-llvmbuild to test changes to
LLVMBuild schema.
NINDENT NINDENT EXIT STATUS
llvm-build exits with 0 if operation was successful. Otherwise, it will exist
with a non-zero value.
AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
COPYRIGHT
2003-2016, LLVM Project
Generated by docutils manpage writer..