| Port details |
- llvm22 LLVM and Clang
- 22.1.7_1 devel
=2 22.1.7_1Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2026-01-19 14:09:05
- Last Update: 2026-07-12 18:28:58
- Commit Hash: afbd5ba
- People watching this port, also watch:: zip, smartmontools, python, coreutils, pkg
- 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.
¦ ¦ ¦ ¦ 
- 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:
-
- Conflicts:
- CONFLICTS_BUILD:
- CONFLICTS_INSTALL:
- 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 = 1780392191
SHA256 (llvm-project-22.1.7.src.tar.xz) = 5cc4a3f12bba50b6bdfb4b61bdc852117a0ff2517807c3902fc13267fb93562e
SIZE (llvm-project-22.1.7.src.tar.xz) = 167066344
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-myst-parser>0 : textproc/py-myst-parser@py312
- py312-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py312
- py312-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py312
- ld.gold : devel/binutils
- py312-pexpect>0 : misc/py-pexpect@py312
- swig : devel/swig
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.12 : lang/python312
- perl5>=5.42.r<5.43 : lang/perl5.42
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- python3.12 : lang/python312
- perl5>=5.42.r<5.43 : lang/perl5.42
- Library dependencies:
-
- libzstd.so : archivers/zstd
- libxml2.so : textproc/libxml2
- liblua-5.4.so : lang/lua54
- libedit.so.0 : devel/libedit
- This port is required by:
- for Build
-
- audio/songrec
- devel/electron42
- devel/include-what-you-use
- devel/wasi-compiler-rt22
- devel/wasi-libcxx22
- misc/ggml
- www/chromium
- for Libraries
-
- devel/py-llvmlite
- devel/spirv-llvm-translator
- security/agave
- for Run
-
- devel/include-what-you-use
Configuration Options:
- ===> The following configuration options are available for llvm22-22.1.7_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
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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
22.1.7_1 12 Jul 2026 18:28:58
    |
Vladimir Druzenko (vvd)  |
devel/llvm2{1,2}: Fix typo risccv64 => riscv64
Approved by: brooks (maintainer, via IRC #bsdports @ EFNet)
Sponsored by: UNIS Labs
MFH: 2026Q3 |
22.1.7_1 21 Jun 2026 20:05:19
    |
Piotr Kubaj (pkubaj)  |
devel/llvm[14-22]: backport powerpc64le patch from CURRENT
Since 16.0, powerpc64le switches to IEEE long double binary128.
This set of patches backports the change from CURRENT.
LLVM 12 and 13 are omitted, because binary128 handling in those
versions is not finished. |
22.1.7 02 Jun 2026 14:12:59
    |
Brooks Davis (brooks)  |
devel/llvm22: 22.1.7 Release
See the annoucement for more info:
https://discourse.llvm.org/t/llvm-22-1-7-released/90961
Sponsored by: DARPA, AFRL |
22.1.6 22 May 2026 11:23:40
    |
Brooks Davis (brooks)  |
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
    |
Tijl Coosemans (tijl)  |
devel/llvm??: Bump PORTREVISION for 4fc6c5e1c9a4
PR: 295111 |
22.1.5 11 May 2026 09:29:31
    |
Brooks Davis (brooks)  |
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
    |
Rene Ladan (rene)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
devel/llvm22: 22.1.0 RC2
Sponsored by: DARPA, AFRL |
22.1.0.r1 19 Jan 2026 14:08:25
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
devel/llvm22: bootstrap from devel/llvm21
Sponsored by: DARPA, AFRL |