Port details on branch 2023Q2 |
- llvm16 LLVM and Clang
- 16.0.6_1 devel
=1 16.0.6_1Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2023-04-12 21:21:07
- Last Update: 2023-06-23 21:02:19
- Commit Hash: 4ab820d
- People watching this port, also watch:: mailutils, osv-scanner, opensmtpd, memcached, tmux
- Also Listed In: lang
- License: BSD3CLAUSE LLVM MIT PD REGEX LLVM2
- WWW:
- https://llvm.org/
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- Conflicts:
- CONFLICTS_BUILD:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/devel/llvm16/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm16
- pkg install llvm16
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm16
- Package flavors (<flavor>: <package>)
- default: llvm16
- lite: llvm16-lite
- distinfo:
- TIMESTAMP = 1686758340
SHA256 (llvm-project-16.0.6.src.tar.xz) = ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e
SIZE (llvm-project-16.0.6.src.tar.xz) = 118013488
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
-
- x11-wm/hyprland
- for Libraries
-
- emulators/rpcs3
Configuration Options:
- ===> The following configuration options are available for llvm16-16.0.6_1:
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=on: 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_llvm16
- USES:
- cmake compiler:c++17-lang cpe tar:xz shebangfix python:3.7+ perl5 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 |
16.0.6_1 23 Jun 2023 21:02:19
    |
Brooks Davis (brooks)  |
devel/llvm16: backport fix for generate arm_neon.h
Backport db49231: [clang][BFloat] Avoid redefining bfloat16_t in
arm_neon.h.
This fixes builds of FreeBSD/aarch64. The change was merged
to the llvm16 in src prior to commit.
(cherry picked from commit 4b887326f2a149bbcf9adb2ab4365aeea4116cbc) |
16.0.6 23 Jun 2023 21:01:43
    |
Brooks Davis (brooks)  |
devel/llvm16: update to 16.0.6 release
Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to
allow its use in cross-build CI pipelines.
Backport fix for LLVM bug 61396. [0] This fixes miscompilation of gcc
on 32-bit arm.
PR: 271992 [0]
Reported by: jfc@mit.edu [0]
(cherry picked from commit 50593575e96b94f5de485c6216a870db44e487e0) |
16.0.5 13 Jun 2023 18:02:38
    |
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
Reported by: michael.osipov@siemens.com
Sponsored by: DARPA
(cherry picked from commit fb323dfd2ac2499f35e4d31a24fd9dd958af619a) |
16.0.5 10 Jun 2023 00:58:01
    |
Jan Beich (jbeich)  Author: Brooks Davis |
devel/llvm16: Update to 16.0.2
Changes: https://discourse.llvm.org/t/llvm-16-0-2-release/70107
Changes: https://discourse.llvm.org/t/16-0-3-release/70341
Changes: https://discourse.llvm.org/t/16-0-4-release/70692
Changes: https://discourse.llvm.org/t/16-0-5-releae/71097
Sponsored by: DARPA
(cherry picked from commit 7ea7349f985c287da8d6a7965697f6a16bd40140)
(cherry picked from commit f186015f22a1160e94779a6d88b159f2d1c10475)
(cherry picked from commit c3af61d7799dae910da12bb778656b47345bc00b)
(cherry picked from commit fc0f58253f01ae034601d73388440be427a32572) |
16.0.1_2 10 Jun 2023 00:58:00
    |
Jan Beich (jbeich)  Author: Brooks Davis |
devel/llvm16: remove obsolete patch
PR: 271616
Reported by: jfc@mit.edu
(cherry picked from commit c0b0bd52bbdaa97445caa0dab3a9f8b5815b227c) |
16.0.1_1 18 Apr 2023 19:29:57
    |
Brooks Davis (brooks)  |
devel/llvm16: 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.9GiB for default and it has
only a single dependency (zstandard). (The goal was no dependencies,
but libzstd is a private lib in base.)
Due to 16.0.1 support being merged without predecessors the resulting
packages have a version (16.0.1_1) that has not (yet) appeared in main.
Hopefully they will resync when 16.0.2 is released.
Sponsored by: DARPA
(cherry picked from commit 003b969feea21d4759a4c87815c843f0b6ebbf8f) |
16.0.1 18 Apr 2023 19:29:57
    |
Brooks Davis (brooks)  |
devel/llvm16: 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
(cherry picked from commit 7bd7aba7617dd9af074e0b43fc2ec739e3ac3285) |
16.0.1 12 Apr 2023 19:48:54
    |
Jan Beich (jbeich)  Author: Brooks Davis |
devel/llvm16: Update to 16.0.1
Included fixes at:
https://discourse.llvm.org/t/llvm-16-0-1-release/69774
(cherry picked from commit edebabe14afc1407a7e0d475fc95c056c5a6fdd6) |