sync ports with The Matrix
This commit is contained in:
parent
ec769495ab
commit
f5034afcba
3108 changed files with 91999 additions and 80269 deletions
6
devel/llvm/files/DESCR-lldb
Normal file
6
devel/llvm/files/DESCR-lldb
Normal file
|
@ -0,0 +1,6 @@
|
|||
The LLVM Project is a collection of modular and reusable compiler
|
||||
and toolchain technologies. Despite its name, LLVM has little to
|
||||
do with traditional virtual machines, though it does provide helpful
|
||||
libraries that can be used to build them.
|
||||
|
||||
This package includes the LLDB debugger.
|
22
devel/llvm/files/DESCR-main
Normal file
22
devel/llvm/files/DESCR-main
Normal file
|
@ -0,0 +1,22 @@
|
|||
The LLVM Project is a collection of modular and reusable compiler
|
||||
and toolchain technologies. Despite its name, LLVM has little to
|
||||
do with traditional virtual machines, though it does provide helpful
|
||||
libraries that can be used to build them.
|
||||
|
||||
This package includes the LLVM Core and the Clang compiler suite.
|
||||
|
||||
The LLVM Core libraries provide a modern source- and target-independent
|
||||
optimizer, along with code generation support for various popular CPUs
|
||||
(i386, amd64, powerpc and arm are major targets). These libraries are
|
||||
built around a well specified code representation known as the LLVM
|
||||
intermediate representation ("LLVM IR"). The LLVM Core libraries are
|
||||
well documented, and it is particularly easy to invent your own language
|
||||
(or port an existing compiler) to use LLVM as an optimizer and code
|
||||
generator.
|
||||
|
||||
Clang is an "LLVM native" C/C++/Objective-C compiler, which aims
|
||||
to deliver fast compiles, extremely useful error and warning messages
|
||||
and to provide a platform for building great source level tools.
|
||||
The Clang Static Analyzer is a tool automatically finds bugs in
|
||||
your code, and is a great example of the sort of tool that can be
|
||||
built using the Clang frontend as a library to parse C/C++ code.
|
1
devel/llvm/files/DESCR-python
Normal file
1
devel/llvm/files/DESCR-python
Normal file
|
@ -0,0 +1 @@
|
|||
This package implements Python bindings for Clang.
|
15
devel/llvm/files/README-main
Normal file
15
devel/llvm/files/README-main
Normal file
|
@ -0,0 +1,15 @@
|
|||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
For more information about using scan-build for the static analyser,
|
||||
look at:
|
||||
http://clang-analyzer.llvm.org/scan-build.html
|
||||
|
||||
For instance, the scanner on the kernel build can be launched with:
|
||||
|
||||
cd /usr/src/sys/arch/`uname -m`/conf && config GENERIC.MP
|
||||
cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
|
||||
make clean && scan-build make
|
||||
|
||||
This will generate HTML reports in /tmp/scan-build-(date).
|
8
devel/llvm/files/llvm-wrapper.sh.in
Normal file
8
devel/llvm/files/llvm-wrapper.sh.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
tool=$0
|
||||
[ -L "$tool" ] && tool=$(/usr/bin/realpath $tool)
|
||||
tool=${tool##*/}
|
||||
tool="${TRUEPREFIX}/${LLVM_BASE}/bin/${tool%-${LLVM_MAJOR}}"
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${TRUEPREFIX}/${LLVM_BASE}/lib" \
|
||||
exec "${tool}" "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue