components/llvm/Solaris/man1/llvm-build.1
author Stefan Teleman <stefan.teleman@oracle.com>
Thu, 28 Jul 2016 16:25:34 -0700
changeset 6512 92717ce71105
permissions -rw-r--r--
24326140 upgrade LLVM to 3.8.1 24326159 upgrade clang to 3.8.1 22902339 memory corruption caused by undefined behavior in LLVM IR Module 22777179 implement [ -mtune= -march= -mcpu= ] in clang SPARC 22778085 LLVM is using %icc when it should be using %xcc 22778089 the SPARCV9 IS implementation is incomplete 22778098 LLVM should emit proc identifiers in SPARC assembler (capabilities) 22778650 clang should support OpenMP because it can 22859423 llvm CodeGen on Intel emits a bogus .ctors section 22902355 clang CodeGen is affected by 22902339 23701635 clang produces amd64 opcodes, but calls 32-bit assembler by default 23593143 lli JIT bitcode parsing creates a main function with wrong argc/argv 21759660 clang packages should include the scan-view and scan-build utilities 23854357 clang should check for GNU ld 17867434 clang crashed in LEXER 24306550 clang crashes in llvm::Twine::toStringRef 24311726 clang's Perl and Python utilities should not use #!/usr/bin/env 24312028 llvm::Twine needs copy constructors and assignment operators 24312221 classes must be CopyConstructible, CopyAssignable, MoveConstructible ... 24314621 LLVM should build using the new CMake based build system 24314638 LLVM CommandLine subsystem is busted 24314687 static initialization of optimization passes doesn't work as intended 21870069 clang makes incorrect assumptions about anonymous namespace instantiation order 22643565 llvm's Google test harness needs some attention 24314745 clang should support PIE executables in Solaris

.\" Man page generated from reStructuredText.
.
.TH "LLVM-BUILD" "1" "2016-07-10" "3.8" "LLVM"
.SH NAME
llvm-build \- LLVM Project Build Utility
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$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]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. 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]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBllvm\-build\fP [\fIoptions\fP]
.SH DESCRIPTION
.sp
\fBllvm\-build\fP is a tool for working with LLVM projects that use the LLVMBuild
system for describing their components.
.sp
At heart, \fBllvm\-build\fP 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.
.SH OPTIONS
.sp
\fB\-h\fP, \fB\-\-help\fP
.INDENT 0.0
.INDENT 3.5
Print the builtin program help.
.UNINDENT
.UNINDENT
.sp
\fB\-\-source\-root\fP=\fIPATH\fP
.INDENT 0.0
.INDENT 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 \fBllvm\-build\fP script itself.
.UNINDENT
.UNINDENT
.sp
\fB\-\-print\-tree\fP
.INDENT 0.0
.INDENT 3.5
Print the component tree for the project.
.UNINDENT
.UNINDENT
.sp
\fB\-\-write\-library\-table\fP
.INDENT 0.0
.INDENT 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.
.UNINDENT
.UNINDENT
.sp
\fB\-\-write\-llvmbuild\fP
.INDENT 0.0
.INDENT 3.5
Write out new \fILLVMBuild.txt\fP files based on the loaded components. This is
useful for auto\-upgrading the schema of the files. \fBllvm\-build\fP 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 \fILLVMBuild\fP files.
.UNINDENT
.UNINDENT
.sp
\fB\-\-write\-cmake\-fragment\fP
.INDENT 0.0
.INDENT 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.
.UNINDENT
.UNINDENT
.sp
\fB\-\-write\-make\-fragment\fP
.INDENT 0.0
.INDENT 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.
.UNINDENT
.UNINDENT
.sp
\fB\-\-llvmbuild\-source\-root\fP=\fIPATH\fP
.INDENT 0.0
.INDENT 3.5
If given, expect the \fILLVMBuild\fP 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 \fB\-\-write\-llvmbuild\fP to test changes to
\fILLVMBuild\fP schema.
.UNINDENT
.UNINDENT
.SH EXIT STATUS
.sp
\fBllvm\-build\fP exits with 0 if operation was successful. Otherwise, it will exist
with a non\-zero value.
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
2003-2016, LLVM Project
.\" Generated by docutils manpage writer.
.