The LLVM Project is a collection of modular and reusable compiler and
toolchain technologies.
This port includes Clang (a C/C++/Objective-C compiler), LLD (a linker),
LLDB (a debugger), and the LLVM infrastructure these are built on.
Ports developers: do not depend on this port from other ports.
===> The following configuration options are available for llvm-19_1,1:
CLANG=on: The clang compiler
EXTRAS=on: Extra clang tools
LIT=on: The lit and FileCheck test tools
LLD=on: The LLVM linker
LLDB=on: The LLVM debugger
===> Use 'make config' to modify these settings
devel/llvm*: Sanitize MANPREFIX
Not bumping as there is no change in PKG. This should have been done in
my previous commit.
Approved by: portmgr (blanket)
devel/llvm-cheriot: compiler for CHERIoT ISA
Add a port of the CHERIoT compiler. The CHERIoT ISA adds CHERI to
RV32e (a microcontroller RISC-V variant). A number of products based
on CHERIoT are in the pipeline including the Sonata board from lowRISC's
Sunburst Project (https://www.sunburst-project.org).
Requested by: emaste
devel/llvm: drop support for LLVM_VERSION < 10
The last LLVM ports with major numbers less than 10 were removed in
Jaunary with 21778d8958f518e2179b1053d75cfb6c71405558. Drop support
for them in this symlink port.
Add more WWW entries to Makefiles
Some ports have not been touched in the commit that added WWW lines to
the port Makefiles.
Approved by: porttmgr (implicit)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
devel/llvm: Add manpage symlinks
Include the target LLVM's Makefile.MAN1SRCS and use it to create
symlinks corresponding to the command symlinks.
Sponsored by: DARPA, AFRL
devel/llvm: allow versions other than LLVM_DEFAULT
Allow the LLVM port to depend on and link to to be something other
than LLVM_DEFAULT. This port can now be build with LLVM_SUFFIX set
to other values including non-numeric values such as -devel, -cheri,
or -morello. To accomodate this, change how the version is
set so we use the major version rather than the suffix. This requires
a PORTEPOCH bump.
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
Add a meta-port for the default version of LLVM.
This is modeled on lang/gcc and simply installs symlinks for the
versioned commands. It is intended for use by users and should not be a
port build dependency.
Mark DEPRECATED in favor of non-conflicting devel/llvm32 and
lang/clang32. Set an agressive expiration date to encourage migration
(actual removal will depend on the removal of dependencies.)
Apply several upstream svn revisions that have also been merged to the
base version:
r170353:
Fix another SROA crasher, PR14601.
This was a silly oversight, we weren't pruning allocas which were used
by variable-length memory intrinsics from the set that could be widened
and promoted as integers. Fix that.
r175057:
X86: Disable generation of rep;movsl when %esi is used as a base pointer.
This happens when there is both stack realignment and a dynamic alloca in the
function. If we overwrite %esi (rep;movsl uses fixed registers) we'll lose the
(Only the first 15 lines of the commit message are shown above )
Add a new option MANPAGES to allow man pages to be supressed. [0]
Remove USE_GCC=4.2+ as all supported versions have an acceptable version
of gcc by default.[0]
Remove the long unused MAINTAINER_MODE variable.
Submitted by: tijl [0]
Upgrade LLVM and Clang to 3.0.
Enable shared libraries in LLVM and build with REQUIRES_RTTI=1 as
requires by some consumers.
PR: ports/164324, ports/164325
Upgrade the LLVM and Clang -devel ports to r133062.
Update the conflicts lines in all the llvm and clang ports to conflict
with 3.x as well as 2.x and generally simplify the conflict definitions
following the example of llvm-etoile.
Upgrade LLVM, Clang, and llvm-gcc to 2.9.
Add a number of bug fixes from our base gcc to llvm-gcc.[0]
PR: ports/154927 [0]
Submitted by: Pedro Giffuni <giffunip at tutopia com> [0]
- Add perl as a RUN dependency since llvm-config is a perl script
- Bump PORTREVISION
PR: ports/154964
Submitted by: garga@
Approved by: brooks@ (maintainer)
Fix the long standing issue of manpages not being installed in the
NOPORTDOCS case by manually building and installing them.
General makefile maintenance.
graphics/opengtl doesn't require that LLVM assertions be disabled so
don't claim it does in the OPTIONS description.
PR: ports/141783
Submitted by: Alberto Villa <villa dot alberto at gmail dot com>
Build fails on ia64 with:
/work/a/ports/devel/llvm/work/llvm-2.6/Release/lib/libLLVMJIT.a(JIT.o)(.text+0x1231):
In function `llvm::JIT::JIT(llvm::ModuleProvider*, llvm::TargetMachine&,
llvm::TargetJITInfo&, llvm::JITMemoryManager*, llvm::CodeGenOpt::Level, bool)'::
undefined reference to `__register_frame'
Given the lack of a backend for IA64, I can't give fixing it a real high
priority.
Depend on dejagnu if either PACKAGE_BUILDING or MAINTAINER_MODE are set so
the regression tests get run on the package cluster. Make regression-test
depend on build. Remove an extra blank line.
Submitted by: pfgshield dash freebsd at yahoo dot com
Use CONFIGURE_ARGS, not the non-existant CONFIGURE_FLAGS. [0]
Order directories correctly so include/llvm-c is removed. [1]
Reported by: Pedro Giffuni <pfgshield dash freebsd at yahoo dot com> [0]
itetcu, erwin (from pointy hat) [1]
Upgrade LLVM to release 2.3.
In theory this should build on every architecture so remove the
no-sparc64 bit.
Add a MAINTAINER_MODE option to allow debug (very slow) versions to be built
and a regression-test target. [1]
Submitted by: Pedro Giffuni <pfgshield dash freebsd at yahoo dot com> [1]
PR: ports/124068
Upgrade devel/llvm and lang/llvm-gcc4 to LLVM 2.2.
Switch llvm-gcc4 from the deprecated gcc 4.0 based version to a new gcc
4.2 based release.
See the release notes for details:
http://www.llvm.org/releases/2.2/docs/ReleaseNotes.html
Upgrade to LLVM 2.1, the latest release.
A couple patchs are included from HEAD that didn't make the release, but
fix use-after-free bugs.
Submitted by: Emil Mikulic <emil at cs dot rmit dot edu dot au>
Upgrade to LLVM 2.0.
From the release notes: "This is the first LLVM release to correctly
compile and optimize major software like LLVM itself, Mozilla/Seamonkey,
Qt 4.3rc1, kOffice, etc out of the box on linux/x86"
For details on the changes to LLVM see:
http://llvm.org/releases/2.0/docs/ReleaseNotes.html
Submitted by: se
PR: ports/114169