Port details |
- llvm15 LLVM and Clang
- 15.0.7_3 devel
=4 15.0.7_2Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2022-08-10 23:03:04
- Last Update: 2023-04-24 17:06:31
- Commit Hash: fb323df
- People watching this port, also watch:: libinotify, font-misc-meltho, py39-pycparser, tmux, p5-Encode-Locale
- Also Listed In: lang
- License: BSD3CLAUSE LLVM MIT PD REGEX LLVM2
- Description:
- 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), an OpenMP runtime library, and the LLVM infrastructure
these are built on.
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- Conflicts:
- CONFLICTS_BUILD:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/devel/llvm15/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm15
- pkg install llvm15
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm15
- Package flavors (<flavor>: <package>)
- default: llvm15
- lite: llvm15-lite
- distinfo:
- TIMESTAMP = 1673554510
SHA256 (llvm-project-15.0.7.src.tar.xz) = 8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6
SIZE (llvm-project-15.0.7.src.tar.xz) = 110936452
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py39
- py39-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py39
- ld.gold : devel/binutils
- swig : devel/swig
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.9 : lang/python39
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Library dependencies:
-
- libzstd.so : archivers/zstd
- liblua-5.3.so : lang/lua53
- libedit.so.0 : devel/libedit
- This port is required by:
- for Build
-
- cad/ghdl
- cad/nvc
- databases/postgresql11-server
- databases/postgresql12-server
- databases/postgresql13-server
- databases/postgresql14-server
- databases/postgresql15-server
- for Libraries
-
- audio/faust
- audio/faustlive
- devel/ccls
- devel/fccf
- devel/ispc
- devel/qt6-tools
- graphics/libosmesa
-
Deleted ports which required this port:
- for Run
-
- cad/ghdl
- cad/nvc
- databases/postgresql11-server
- databases/postgresql12-server
- databases/postgresql13-server
- databases/postgresql14-server
- databases/postgresql15-server
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for llvm15-15.0.7_3:
BE_AMDGPU=on: AMD GPU backend (required by mesa)
BE_WASM=on: WebAssembly backend (required by firefox via wasi)
CLANG=on: Build clang
COMPILER_RT=on: Sanitizer libraries
DOCS=on: Build and/or install documentation
EXTRAS=on: Extra clang tools
FLANG=off: Flang FORTRAN compiler
GOLD=on: Build the LLVM Gold plugin for LTO
LIT=on: Install lit and FileCheck test tools
LLD=on: Install lld, the LLVM linker
LLDB=on: Install lldb, the LLVM debugger
MLIR=off: Multi-Level Intermediate Representation
OPENMP=on: Install libomp, the LLVM OpenMP runtime library
PYCLANG=on: Install python bindings to libclang
STATIC_LIBS=on: Install static libraries (does not effect sanitizers)
====> Options available for the single BACKENDS: you have to select exactly one of them
BE_FREEBSD=off: Backends for FreeBSD architectures
BE_NATIVE=off: Backend(s) for this architecture (X86)
BE_STANDARD=on: All non-experimental backends
===> Use 'make config' to modify these settings
- Options name:
- devel_llvm15
- USES:
- cmake compiler:c++11-lib cpe perl5 tar:xz shebangfix python:3.7+ lua:53 libedit gnome
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
15.0.7_3 24 Apr 2023 17:06:31
    |
Brooks Davis (brooks)  |
devel/llvm*: Consistently use python:3.7+
llvm12 was inappropriately constrained to 3.6-3.9 breaking the ability
to set 3.10 as the default. llvm11 just specified "python", but there's
no need to keep 2.7 support around. The rest had obsolete 3.6+ entries.
No functional change: This is not expected to change the version of
python used.
PR: 270978
MFH: 2023Q2
Reported by: michael.osipov@siemens.com
Sponsored by: DARPA |
15.0.7_3 18 Apr 2023 21:39:20
    |
Po-Chuan Hsieh (sunpoet)  |
devel/llvm15: Fix build with swig 4.1.1
PR: 270720 |
15.0.7_3 02 Apr 2023 02:17:48
    |
Brooks Davis (brooks)  |
devel/llvm15: add a lite FLAVOR
The lite flavor is for when you just need a FreeBSD compiler (e.g., in
CI). By default it includes CLANG and LLD as well as backends required
for FreeBSD and FreeBSD ports (BE_NATIVE, BE_AMDGPU, and BE_WASM).
The lite install is ~350GiB on amd64 vs ~1.7GiB for default and it has
only a single dependency (zstandard). (The goal was no dependencies,
but libzstd is a private lib in base.)
Bump PORT_REVISION due to removal of clang libxml2 dependency.
Sponsored by: DARPA |
15.0.7_2 02 Apr 2023 02:17:48
    |
Brooks Davis (brooks)  |
devel/llvm15: add a STATIC_LIBS option
When enabled (default) assorted LLVM componant static libraries are
included in the package. Disabling this option reduces the installed
size by ~1GiB.
Sponsored by: DARPA |
15.0.7_2 02 Apr 2023 02:17:47
    |
Brooks Davis (brooks)  |
devel/llvm15: enable ARM backend on aarch64
When BE_NATIVE is specified on aarch64, include the ARM (32-bit)
backend.
Sponsored by: DARPA |
15.0.7_1 30 Jan 2023 23:39:26
    |
Brooks Davis (brooks)  |
devel/llvm15: disable FLANG option
The compiler produced doesn't work due to missing FreeBSD support added
after the release branch so disable it. I've not completely disabled it
as I suspect it isn't hard to fix should someone want to do that rather
than moving to devel/llvm16.
By default this will also disable MLIR. |
15.0.7 30 Jan 2023 23:38:36
    |
Brooks Davis (brooks)  |
devel/llvm15: fix packaging with debug python
The actual suffix if python extensions (at least as built by the LLVM
infrastructure) is ${PYTHON_EXT_SUFFIX}${PYTHON_ABIVER} not merely the
former.
PR: 268437
Sponsored by: DARPA |
15.0.7 12 Jan 2023 22:58:51
    |
Brooks Davis (brooks)  |
devel/llvm15: update to 15.0.7
Please see the release annoucment for changes:
https://discourse.llvm.org/t/llvm-15-0-7-release |
15.0.6_1 06 Jan 2023 00:11:37
    |
Brooks Davis (brooks)  |
devel/llvm*: Fix CONFLICT on cmark
If the user has the textproc/cmark package installed, the py*-CommonMark
package will fail to install. This in turn leads to build failures down
the line when sphinx tries to load commonmark. The result is confusing
and potentially wastes a lot of build time so just conflict upfront.
The previous code attempted to do this, but I'd listed the conflict
incorrectly in 2019. :(
PR: 239636
Reported by: Stephen Roznowski <sjrbulk@verizon.net> |
15.0.6_1 09 Dec 2022 18:49:40
    |
Brooks Davis (brooks)  |
devel/llvm15: add dependency on zstd
While here, slightly improve portlint compatability of MASTER_SITE.
PR: 268211
Reported by: amdmi3 |
15.0.6 09 Dec 2022 18:49:40
    |
Brooks Davis (brooks)  |
devel/llvm1[2345]: fix build with clang 15
When building llvm12 through llvm15 with clang 15 as host compiler, and
when compiler-rt is enabled, there will be errors due to float16
support, similar to:
In file included from
/wrkdirs/usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/compiler-rt/lib/builtins/extendhfsf2.c:11:
In file included from
/wrkdirs/usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/compiler-rt/lib/builtins/fp_extend_impl.inc:38:
/wrkdirs/usr/ports/devel/llvm15/work/llvm-project-15.0.6.src/compiler-rt/lib/builtins/fp_extend.h:44:9:
error: _Float16 is not supported on this target
typedef _Float16 src_t;
^
This is because compiler-rt's CMake infrastructure detects float16
support at configure time, while targeting 'pure' x86_64, but then
builds parts of its tree also targeting i386. (Only the first 15 lines of the commit message are shown above ) |
15.0.6 02 Dec 2022 00:39:34
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.6
See changes at: https://discourse.llvm.org/t/llvm-15-0-6-released |
15.0.5 16 Nov 2022 19:52:12
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.5
For a list of changes since 15.0.4, see
https://discourse.llvm.org/t/llvm-15-0-5-release |
15.0.4 07 Nov 2022 19:17:49
    |
Brooks Davis (brooks)  |
devel/llvm15: update to 15.0.4
See https://discourse.llvm.org/t/llvm-15-0-4-released for included
changes. |
15.0.3 18 Oct 2022 20:38:06
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.3
See the release annoucement for included changes:
https://discourse.llvm.org/t/llvm-15-0-3-released
This is expected to be the last point release of LLVM 15. |
15.0.2 05 Oct 2022 03:39:06
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.2 release
For a list of changes, see:
https://discourse.llvm.org/t/llvm-15-0-2-tagged
MFH: 2022Q4 |
15.0.1 28 Sep 2022 17:38:13
    |
Brooks Davis (brooks)  |
devel/llvm15: Fix plist without EXTRAS
With CLANG enabled and EXTRAS disabled, packaging would fail due some
clang-extras files being listed as clang files.
Reported by: naddy |
15.0.1 20 Sep 2022 23:49:31
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.1
Of note: -Wimplicit-function-declaration and -Wimplicit-int have been
downgraded to warn by default rather than error to allow more time for
configure scripts to be updated to avoid spurious errors. They are
expected to switch back to error in Clang 16.
For a complete list of changes see:
https://discourse.llvm.org/t/llvm-15-0-1-released/65380 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
15.0.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
15.0.0 06 Sep 2022 23:43:00
    |
Brooks Davis (brooks)  |
devel/llvm15: 15.0.0 Release
See the announcment and release notes for information on changes since
14.0.0: https://discourse.llvm.org/t/llvm-15-0-0-release/65099 |
15.0.0.r3 26 Aug 2022 22:06:49
    |
Brooks Davis (brooks)  |
devel/llvm15: update to RC3
Sponsored by: DARPA, AFRL |
15.0.0.r2 11 Aug 2022 23:34:42
    |
Brooks Davis (brooks)  |
devel/llvm15: Update to 15.0.0rc2 |
15.0.0.r1 10 Aug 2022 23:01:43
    |
Brooks Davis (brooks)  |
devel/llvm15: Add LLVM 15
Modify the llvm14-derived build for 15.0.0rc1, the first LLVM 15
release candidate.
Disble OPENMP by default on i386. It's clearly not being tested on
32-bit upstream.
Don't enable MLIR by default. Instead, rely on FLANG's dependency
on it to turn it on for architectures that support FLANG. This removes
MLIR from default packages on 32-bit system. |
14.0.6 10 Aug 2022 23:01:09
    |
Brooks Davis (brooks)  |
devel/llvm15: boostrap from devel/llvm14
Make an as-is copy of llvm14 as devel/llvm15. It will be updated to
LLVM 15 and connected to the build in the next commit. This makes it
easier to see what has changed. |