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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
llvm22 LLVM and Clang
22.1.6 devel on this many watch lists=2 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 22.1.2Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-19 14:09:05
Last Update: 2026-05-22 11:23:40
Commit Hash: 60439c5
People watching this port, also watch:: zip, python311, python, coreutils, smartmontools
Also Listed In: lang
License: BSD3CLAUSE LLVM LLVM2 MIT PD REGEX
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • llvm22>0:devel/llvm22
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
CONFLICTS_INSTALL:
  • llvm22
  • llvm22-lite
To install the port:
cd /usr/ports/devel/llvm22/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm22
  • pkg install llvm22
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm22
Package flavors (<flavor>: <package>)
  • default: llvm22
  • lite: llvm22-lite
distinfo:
TIMESTAMP = 1779439955 SHA256 (llvm-project-22.1.6.src.tar.xz) = 6e0b376a1f6d9873e7dfb09ae6e04b9c7024400f01733fa4c29be69d5c138bc2 SIZE (llvm-project-22.1.6.src.tar.xz) = 167043464

Packages (timestamps in pop-ups are UTC):
llvm22
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest22.1.322.1.3--22.1.3n/an/an/a
FreeBSD:13:quarterly22.1.222.1.2--22.1.2n/an/an/a
FreeBSD:14:latest22.1.5_122.1.5_1--22.1.6---
FreeBSD:14:quarterly22.1.222.1.2--22.1.2---
FreeBSD:15:latest22.1.5_122.1.6n/a-n/an/a--
FreeBSD:15:quarterly22.1.222.1.2n/a-n/an/a--
FreeBSD:16:latest22.1.322.1.5_1n/a-n/an/a--
 

llvm22-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest22.1.322.1.3--22.1.3n/an/an/a
FreeBSD:13:quarterly22.1.222.1.2--22.1.2n/an/an/a
FreeBSD:14:latest22.1.5_122.1.5_1--22.1.6---
FreeBSD:14:quarterly22.1.222.1.2--22.1.2---
FreeBSD:15:latest22.1.5_122.1.6n/a-n/an/a--
FreeBSD:15:quarterly22.1.222.1.2n/a-n/an/a--
FreeBSD:16:latest22.1.322.1.5_1n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-myst-parser>0 : textproc/py-myst-parser@py311
  2. py311-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py311
  3. py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
  4. ld.gold : devel/binutils
  5. py311-pexpect>0 : misc/py-pexpect@py311
  6. swig : devel/swig
  7. cmake : devel/cmake-core
  8. ninja : devel/ninja
  9. python3.11 : lang/python311
  10. perl5>=5.42.r<5.43 : lang/perl5.42
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
  2. perl5>=5.42.r<5.43 : lang/perl5.42
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. libxml2.so : textproc/libxml2
  3. liblua-5.4.so : lang/lua54
  4. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. audio/songrec
  2. devel/electron42
  3. devel/include-what-you-use
  4. devel/wasi-compiler-rt22
  5. devel/wasi-libcxx22
  6. misc/ggml
  7. www/chromium
Expand this list (9 items / 2 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/iridium
  3. www/ungoogled-chromium
  4. Collapse this list.
for Libraries
  1. devel/spirv-llvm-translator
for Run
  1. devel/include-what-you-use

Configuration Options:
===> The following configuration options are available for llvm22-22.1.6: 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 POLLY=on: Polyhedral loop and data-locality optimizer 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_llvm22
USES:
cmake compiler:c++17-lang cpe tar:xz shebangfix python perl5 gnome lua:54 libedit
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.6/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
22.1.6
22 May 2026 11:23:40
commit hash: 60439c5bb59db5d95ebf75cbb1346b319e9346b4commit hash: 60439c5bb59db5d95ebf75cbb1346b319e9346b4commit hash: 60439c5bb59db5d95ebf75cbb1346b319e9346b4commit hash: 60439c5bb59db5d95ebf75cbb1346b319e9346b4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.6 release

Remove LLDB dependency on libxml. [0]

PR:		295076
Submitted by:	laurent [0]
Sponsored by:	DARPA, AFRL
22.1.5_1
13 May 2026 13:47:05
commit hash: b2fbc8d0f1889c65d5cceffb7b85f432a9a8ed65commit hash: b2fbc8d0f1889c65d5cceffb7b85f432a9a8ed65commit hash: b2fbc8d0f1889c65d5cceffb7b85f432a9a8ed65commit hash: b2fbc8d0f1889c65d5cceffb7b85f432a9a8ed65 files touched by this commit
Tijl Coosemans (tijl) search for other commits by this committer
devel/llvm??: Bump PORTREVISION for 4fc6c5e1c9a4

PR:		295111
22.1.5
11 May 2026 09:29:31
commit hash: 4fc6c5e1c9a43149a91c626c56ae6e33066449bccommit hash: 4fc6c5e1c9a43149a91c626c56ae6e33066449bccommit hash: 4fc6c5e1c9a43149a91c626c56ae6e33066449bccommit hash: 4fc6c5e1c9a43149a91c626c56ae6e33066449bc files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm??: Add Mips back to standard backends

I'd forgotten that STANDARD_BACKENDS is includes _FREEBSD_BACKENDS so
Mips dropped out of the list when it was removed from _FREEBSD_BACKENDS.

PR:		295111
Fixes:		2a7c0561200c ("all: drop support for FreeBSD 13, mips and risc64sf")
22.1.5
07 May 2026 21:47:29
commit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for FreeBSD 13, mips and risc64sf

Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
22.1.5
07 May 2026 11:22:17
commit hash: ac22956dec7938350bda3cf8a712d7456b468c30commit hash: ac22956dec7938350bda3cf8a712d7456b468c30commit hash: ac22956dec7938350bda3cf8a712d7456b468c30commit hash: ac22956dec7938350bda3cf8a712d7456b468c30 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.5 release

See the announcement for changes:
    https://discourse.llvm.org/t/llvm-22-1-5-released/90734

Sponsored by:	DARPA, AFRL
22.1.4
07 May 2026 11:22:16
commit hash: c3ff5350855c171669626c1a93975c8482db3569commit hash: c3ff5350855c171669626c1a93975c8482db3569commit hash: c3ff5350855c171669626c1a93975c8482db3569commit hash: c3ff5350855c171669626c1a93975c8482db3569 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.4 release

See the annoucement for more information:
    https://discourse.llvm.org/t/llvm-22-1-4-released/90622

Sponsored by:	DARPA, AFRL
22.1.3
08 Apr 2026 21:51:42
commit hash: 0c89741b3756d01920be499e33e8ca3d84177480commit hash: 0c89741b3756d01920be499e33e8ca3d84177480commit hash: 0c89741b3756d01920be499e33e8ca3d84177480commit hash: 0c89741b3756d01920be499e33e8ca3d84177480 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.3 release

See the annoucement for changes:
    https://discourse.llvm.org/t/llvm-22-1-3-released/90467

While here, disable Python limited API for LLDB. [0]

Submitted by:	vishwin [0]
Differential Revision:	https://reviews.freebsd.org/D56111
22.1.2
27 Mar 2026 16:31:51
commit hash: 483a6fa9f0870d4f27f91e8c6eefb89e86d9ffddcommit hash: 483a6fa9f0870d4f27f91e8c6eefb89e86d9ffddcommit hash: 483a6fa9f0870d4f27f91e8c6eefb89e86d9ffddcommit hash: 483a6fa9f0870d4f27f91e8c6eefb89e86d9ffdd files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.2 release

See the release announcement for more details:
    https://discourse.llvm.org/t/llvm-22-1-2-released/90308

Sponsored by:	DARPA, AFRL
22.1.1
27 Mar 2026 16:31:50
commit hash: 9bef81efd3d9fc3404b6f06e9e7825d35086d191commit hash: 9bef81efd3d9fc3404b6f06e9e7825d35086d191commit hash: 9bef81efd3d9fc3404b6f06e9e7825d35086d191commit hash: 9bef81efd3d9fc3404b6f06e9e7825d35086d191 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.1 release

Release announcement:
    https://discourse.llvm.org/t/llvm-22-1-1-released/90150

Sponsored by:	DARPA, AFRL
22.1.0
24 Feb 2026 11:26:01
commit hash: c85d06b4b634eb694631f128e1d8f7e5192c2ae0commit hash: c85d06b4b634eb694631f128e1d8f7e5192c2ae0commit hash: c85d06b4b634eb694631f128e1d8f7e5192c2ae0commit hash: c85d06b4b634eb694631f128e1d8f7e5192c2ae0 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.0 Release

Release notes from various projects are linked from the annoucement:
    https://discourse.llvm.org/t/llvm-22-1-0-released/89950

Sponsored by:	DARPA, AFRL
22.1.0.r3
24 Feb 2026 11:26:01
commit hash: 52e12ad06a5e3cb6b7d374c00910b902db91b9cdcommit hash: 52e12ad06a5e3cb6b7d374c00910b902db91b9cdcommit hash: 52e12ad06a5e3cb6b7d374c00910b902db91b9cdcommit hash: 52e12ad06a5e3cb6b7d374c00910b902db91b9cd files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm{19,20,21,22}: don't set LLVM_ENABLE_TERMINFO=OFF

LLVM dropped use of TERMINFO prior to LLVM 19 so stop trying to disable
it.

Sponsored by:	DARPA, AFRL
22.1.0.r3
18 Feb 2026 12:00:33
commit hash: 1580588b79e4ef73fedd1f1a4850e9dd313c2b30commit hash: 1580588b79e4ef73fedd1f1a4850e9dd313c2b30commit hash: 1580588b79e4ef73fedd1f1a4850e9dd313c2b30commit hash: 1580588b79e4ef73fedd1f1a4850e9dd313c2b30 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.0-rc3

The release announcement can be found at:
    https://discourse.llvm.org/t/llvm-22-1-0-rc3-released/89769

Sponsored by:	DARPA, AFRL
22.1.0.r2
02 Feb 2026 17:59:10
commit hash: 7c32287b8d209f92f285f00524c6abd9e0a96adfcommit hash: 7c32287b8d209f92f285f00524c6abd9e0a96adfcommit hash: 7c32287b8d209f92f285f00524c6abd9e0a96adfcommit hash: 7c32287b8d209f92f285f00524c6abd9e0a96adf files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.0 RC2

Sponsored by:	DARPA, AFRL
22.1.0.r1
19 Jan 2026 14:08:25
commit hash: 6cda2f3ed1b063cd65204cf209809e4809278e9bcommit hash: 6cda2f3ed1b063cd65204cf209809e4809278e9bcommit hash: 6cda2f3ed1b063cd65204cf209809e4809278e9bcommit hash: 6cda2f3ed1b063cd65204cf209809e4809278e9b files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: 22.1.0-RC1

The release announcement can be found at:
    https://discourse.llvm.org/t/llvm-22-1-0-rc1-released/89479

Sponsored by:	DARPA, AFRL
21.1.8
19 Jan 2026 14:08:24
commit hash: c1a068509119a9151ed1aeb27dece968160222fbcommit hash: c1a068509119a9151ed1aeb27dece968160222fbcommit hash: c1a068509119a9151ed1aeb27dece968160222fbcommit hash: c1a068509119a9151ed1aeb27dece968160222fb files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm22: bootstrap from devel/llvm21

Sponsored by:	DARPA, AFRL

Number of commits found: 15