notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2023Q2
llvm16 LLVM and Clang
16.0.6_1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 16.0.6_1Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  • llvm16>0:devel/llvm16
Conflicts:
CONFLICTS_BUILD:
  • cmark
CONFLICTS_INSTALL:
  • llvm16
  • llvm16-lite
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):
llvm16
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_11---
FreeBSD:13:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:14:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.5--
FreeBSD:14:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:15:latest--n/a16.0.6_11n/a16.0.6_1016.0.6_1016.0.6_10
 

llvm16-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_11---
FreeBSD:13:quarterly16.0.6_1116.0.6_1116.0.6_516.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:14:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.5-16.0.5
FreeBSD:14:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:15:latest--n/a16.0.6_11n/a16.0.6_1016.0.6_1016.0.6_10
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py39
  2. py39-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py39
  3. ld.gold : devel/binutils
  4. swig : devel/swig
  5. cmake : devel/cmake-core
  6. ninja : devel/ninja
  7. python3.9 : lang/python39
  8. perl5>=5.32.r0<5.33 : lang/perl5.32
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. liblua-5.3.so : lang/lua53
  3. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. x11-wm/hyprland
for Libraries
  1. 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:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/
  2. https://releases.llvm.org/16.0.6/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.0.6_1
23 Jun 2023 21:02:19
commit hash: 4ab820d58246c800467103fda108aa4f643f1211commit hash: 4ab820d58246c800467103fda108aa4f643f1211commit hash: 4ab820d58246c800467103fda108aa4f643f1211commit hash: 4ab820d58246c800467103fda108aa4f643f1211 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 5e81b0383c515efab7ffba838969f2cbb2656082commit hash: 5e81b0383c515efab7ffba838969f2cbb2656082commit hash: 5e81b0383c515efab7ffba838969f2cbb2656082commit hash: 5e81b0383c515efab7ffba838969f2cbb2656082 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: ff9e7e22170fc4d0c543ad8cf40c5f64762e8fc7commit hash: ff9e7e22170fc4d0c543ad8cf40c5f64762e8fc7commit hash: ff9e7e22170fc4d0c543ad8cf40c5f64762e8fc7commit hash: ff9e7e22170fc4d0c543ad8cf40c5f64762e8fc7 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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
commit hash: 988341a91ee816a7a2c3be367ef0d16605857da3commit hash: 988341a91ee816a7a2c3be367ef0d16605857da3commit hash: 988341a91ee816a7a2c3be367ef0d16605857da3commit hash: 988341a91ee816a7a2c3be367ef0d16605857da3 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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
commit hash: 5af6b09695121e83557cd79557077c75d3710f5fcommit hash: 5af6b09695121e83557cd79557077c75d3710f5fcommit hash: 5af6b09695121e83557cd79557077c75d3710f5fcommit hash: 5af6b09695121e83557cd79557077c75d3710f5f files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 84e7ec2279e8946582ba435d241a9872119bcafacommit hash: 84e7ec2279e8946582ba435d241a9872119bcafacommit hash: 84e7ec2279e8946582ba435d241a9872119bcafacommit hash: 84e7ec2279e8946582ba435d241a9872119bcafa files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 5083d95f00ca7657aa71d33eb65143c0e1a142d2commit hash: 5083d95f00ca7657aa71d33eb65143c0e1a142d2commit hash: 5083d95f00ca7657aa71d33eb65143c0e1a142d2commit hash: 5083d95f00ca7657aa71d33eb65143c0e1a142d2 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
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)

Number of commits found: 8