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
Port details
llvm21 LLVM and Clang
21.1.8 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 21.1.2Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-30 12:12:04
Last Update: 2025-12-18 22:53:15
Commit Hash: 1d3dab2
People watching this port, also watch:: patch, bonnie, iorate, zpool-iostat-viz, rsync
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:
  • llvm21>0:devel/llvm21
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
CONFLICTS_INSTALL:
  • llvm21
  • llvm21-lite
To install the port:
cd /usr/ports/devel/llvm21/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm21
  • pkg install llvm21
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm21
Package flavors (<flavor>: <package>)
  • default: llvm21
  • lite: llvm21-lite
distinfo:
TIMESTAMP = 1765893239 SHA256 (llvm-project-21.1.8.src.tar.xz) = 4633a23617fa31a3ea51242586ea7fb1da7140e426bd62fc164261fe036aa142 SIZE (llvm-project-21.1.8.src.tar.xz) = 158958576

Packages (timestamps in pop-ups are UTC):
llvm21
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.1.621.1.6-21.1.221.1.8n/an/an/a
FreeBSD:13:quarterly21.1.221.1.2--21.1.2n/an/an/a
FreeBSD:14:latest21.1.721.1.8-21.1.021.1.8---
FreeBSD:14:quarterly21.1.221.1.2--21.1.2---
FreeBSD:15:latest21.1.621.1.8n/a21.1.0.r3n/an/a--
FreeBSD:15:quarterly21.1.221.1.2n/a-n/an/a--
FreeBSD:16:latest21.1.621.1.8n/a-n/an/a--
 

llvm21-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.1.621.1.6-21.1.221.1.8n/an/an/a
FreeBSD:13:quarterly21.1.221.1.2--21.1.2n/an/an/a
FreeBSD:14:latest21.1.721.1.8-21.1.021.1.8---
FreeBSD:14:quarterly21.1.221.1.2--21.1.2---
FreeBSD:15:latest21.1.621.1.8n/a21.1.0.r3n/an/a--
FreeBSD:15:quarterly21.1.221.1.2n/a-n/an/a--
FreeBSD:16:latest21.1.621.1.8n/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. databases/clickhouse
  2. devel/electron39
  3. devel/include-what-you-use
  4. devel/wasi-compiler-rt21
  5. devel/wasi-libcxx21
  6. lang/pocl
  7. mail/stalwart
Expand this list (10 items / 3 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/chromium
  3. www/iridium
  4. www/ungoogled-chromium
  5. Collapse this list.
for Libraries
  1. devel/spirv-llvm-translator
  2. lang/odin
  3. lang/pocl
for Run
  1. devel/include-what-you-use
  2. lang/pocl

Configuration Options:
===> The following configuration options are available for llvm21-21.1.8: 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_llvm21
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-21.1.8/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21.1.8
18 Dec 2025 22:53:15
commit hash: 1d3dab2c20c024ed3e1c058c77caf9f4398fdf78commit hash: 1d3dab2c20c024ed3e1c058c77caf9f4398fdf78commit hash: 1d3dab2c20c024ed3e1c058c77caf9f4398fdf78commit hash: 1d3dab2c20c024ed3e1c058c77caf9f4398fdf78 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.8 release

See the annoucement for changes:
    https://discourse.llvm.org/t/llvm-21-1-8-released/89144

Sponsored by:	DARPA, AFRL
21.1.7
09 Dec 2025 16:04:24
commit hash: 9f9ae975724e64737303ea2d8b4d6ca73d38b7f1commit hash: 9f9ae975724e64737303ea2d8b4d6ca73d38b7f1commit hash: 9f9ae975724e64737303ea2d8b4d6ca73d38b7f1commit hash: 9f9ae975724e64737303ea2d8b4d6ca73d38b7f1 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.7 release

See the announcement for changes:
    https://discourse.llvm.org/t/llvm-21-1-7-released/89029

Sponsored by:	DARPA, AFRL
21.1.6
09 Dec 2025 16:04:23
commit hash: 4e1881d3af605651ea021c26e57727375a982dcdcommit hash: 4e1881d3af605651ea021c26e57727375a982dcdcommit hash: 4e1881d3af605651ea021c26e57727375a982dcdcommit hash: 4e1881d3af605651ea021c26e57727375a982dcd files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: don't build gold plugin when disabled

Disabling the GOLD option didn't actually disable building the plugin,
it just didn't install it in the package.  Actually stop traversing into
the directory when the option disabled so we don't end up needing
devel/binutils.

PR:		291247
Sponsored by:	DARPA, AFRL
21.1.6
19 Nov 2025 12:00:04
commit hash: bfb451c53aabe9a93495bb83288cdd4e56a2fdb0commit hash: bfb451c53aabe9a93495bb83288cdd4e56a2fdb0commit hash: bfb451c53aabe9a93495bb83288cdd4e56a2fdb0commit hash: bfb451c53aabe9a93495bb83288cdd4e56a2fdb0 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.6 Release

See the announcement for changes:
    https://discourse.llvm.org/t/llvm-21-1-6-released/88895

Sponsored by:	DARPA, AFRL
21.1.5
06 Nov 2025 00:51:24
commit hash: 9974da3354da61760df288d81012cf52b0db5b72commit hash: 9974da3354da61760df288d81012cf52b0db5b72commit hash: 9974da3354da61760df288d81012cf52b0db5b72commit hash: 9974da3354da61760df288d81012cf52b0db5b72 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.5 release

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

Sponsored by:	DARPA, AFRL
21.1.4
21 Oct 2025 12:00:55
commit hash: 1b6eada032c743ec27c55c0239ac4471048650b3commit hash: 1b6eada032c743ec27c55c0239ac4471048650b3commit hash: 1b6eada032c743ec27c55c0239ac4471048650b3commit hash: 1b6eada032c743ec27c55c0239ac4471048650b3 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.4 release

See the annoucement for changes:
    https://discourse.llvm.org/t/llvm-21-1-4-released/88651

Sponsored by:	DARPA, AFRL
21.1.3
15 Oct 2025 14:49:39
commit hash: 756e905f940309d61ae883a25a387e738e7b43f4commit hash: 756e905f940309d61ae883a25a387e738e7b43f4commit hash: 756e905f940309d61ae883a25a387e738e7b43f4commit hash: 756e905f940309d61ae883a25a387e738e7b43f4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.3 release

See the release announcement for changes since 21.1.2:
    https://discourse.llvm.org/t/llvm-21-1-3-released/88525

Sponsored by:	DARPA, AFRL
21.1.2
24 Sep 2025 15:38:35
commit hash: 7eac8b14b701dc3283740bd9743b8d5e298d4fdfcommit hash: 7eac8b14b701dc3283740bd9743b8d5e298d4fdfcommit hash: 7eac8b14b701dc3283740bd9743b8d5e298d4fdfcommit hash: 7eac8b14b701dc3283740bd9743b8d5e298d4fdf files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.2 release

See the announcement for changes in this release:
    https://discourse.llvm.org/t/llvm-21-1-2-released/88398
21.1.1
11 Sep 2025 12:48:22
commit hash: ca6ea7057ff894269a4e3d5c1b7ff2856d0e9219commit hash: ca6ea7057ff894269a4e3d5c1b7ff2856d0e9219commit hash: ca6ea7057ff894269a4e3d5c1b7ff2856d0e9219commit hash: ca6ea7057ff894269a4e3d5c1b7ff2856d0e9219 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.1 release

See the release announcement for changes:
    https://discourse.llvm.org/t/llvm-21-1-1-released/88244

Sponsored by:	DARPA, AFRL
21.1.0
27 Aug 2025 10:23:19
commit hash: 7fd53002788ee4906d29c651b29becc00795fb2bcommit hash: 7fd53002788ee4906d29c651b29becc00795fb2bcommit hash: 7fd53002788ee4906d29c651b29becc00795fb2bcommit hash: 7fd53002788ee4906d29c651b29becc00795fb2b files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.0 Release

See the release annoucment for links to the release notes for each
project:
    https://discourse.llvm.org/t/llvm-21-1-0-released/88066

Sponsored by:	DARPA, AFRL
21.1.0.r3
12 Aug 2025 10:42:07
commit hash: 361e2d8f23ad2315fe2392dc161bf182406c36c4commit hash: 361e2d8f23ad2315fe2392dc161bf182406c36c4commit hash: 361e2d8f23ad2315fe2392dc161bf182406c36c4commit hash: 361e2d8f23ad2315fe2392dc161bf182406c36c4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: 21.1.0-rc3

See the annoucement for the changelog:
    https://discourse.llvm.org/t/llvm-21-1-0-rc3-released/87826
21.1.0.r2
10 Aug 2025 19:17:27
commit hash: 39a32a2841cdf2ba43fcce1d8446abe1057ba755commit hash: 39a32a2841cdf2ba43fcce1d8446abe1057ba755commit hash: 39a32a2841cdf2ba43fcce1d8446abe1057ba755commit hash: 39a32a2841cdf2ba43fcce1d8446abe1057ba755 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
devel/llvm{19,20,21}: fix build on riscv64

=======================<phase: check-sanity   >============================
====> You must select one and only one option from the BACKENDS single
=====> No option was selected (and one must be)

Approved by:	portmgr (build fix blanket)
MFH:		2025Q3
21.1.0.r2
30 Jul 2025 12:09:04
commit hash: 2ff446b5dc44974be8f31857bc6fb85d6acc5f39commit hash: 2ff446b5dc44974be8f31857bc6fb85d6acc5f39commit hash: 2ff446b5dc44974be8f31857bc6fb85d6acc5f39commit hash: 2ff446b5dc44974be8f31857bc6fb85d6acc5f39 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: update and connect bo build

Adapt previously copied llvm20 port to the LLVM 21 branch.  Connect to
build.  The current version is 21.1.0-rc2.
20.1.8
30 Jul 2025 12:08:54
commit hash: ba6a3907d0b85a4cd98a204ff4f21bb760359636commit hash: ba6a3907d0b85a4cd98a204ff4f21bb760359636commit hash: ba6a3907d0b85a4cd98a204ff4f21bb760359636commit hash: ba6a3907d0b85a4cd98a204ff4f21bb760359636 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm21: bootstrap from devel/llvm20

This is an exact copy and it not connected to the build.  The next
commit will update the port and connect it.

Number of commits found: 14