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.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q1
llvm21 LLVM and Clang
21.1.8_3 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.8_3Version 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: 2026-07-12 18:28:58
Commit Hash: afbd5ba
People watching this port, also watch:: py311-pycparser, p5-Net-HTTP, py311-pymilter, tmux, python
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.821.1.8-21.1.221.1.8n/an/an/a
FreeBSD:13:quarterly21.1.821.1.8--21.1.8n/an/an/a
FreeBSD:14:latest21.1.8_321.1.8_3-21.1.021.1.8_3---
FreeBSD:14:quarterly21.1.8_321.1.8_3--21.1.8_3---
FreeBSD:15:latest21.1.8_321.1.8_3n/a21.1.0.r3n/an/a--
FreeBSD:15:quarterly21.1.8_321.1.8_3n/a-n/an/a--
FreeBSD:16:latest21.1.8_321.1.8_3n/a-n/an/a--
 

llvm21-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.1.821.1.8-21.1.221.1.8n/an/an/a
FreeBSD:13:quarterly21.1.821.1.8--21.1.8n/an/an/a
FreeBSD:14:latest21.1.8_321.1.8_3-21.1.021.1.8_3---
FreeBSD:14:quarterly21.1.8_321.1.8_3--21.1.8_3---
FreeBSD:15:latest21.1.8_321.1.8_3n/a21.1.0.r3n/an/a--
FreeBSD:15:quarterly21.1.8_321.1.8_3n/a-n/an/a--
FreeBSD:16:latest21.1.8_321.1.8_3n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-myst-parser>0 : textproc/py-myst-parser@py312
  2. py312-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py312
  3. py312-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py312
  4. ld.gold : devel/binutils
  5. py312-pexpect>0 : misc/py-pexpect@py312
  6. swig : devel/swig
  7. cmake : devel/cmake-core
  8. ninja : devel/ninja
  9. python3.12 : lang/python312
  10. perl5>=5.42.r<5.43 : lang/perl5.42
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
  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. databases/clickhouse-devel
  3. devel/electron40
  4. devel/electron41
  5. devel/wasi-compiler-rt21
  6. devel/wasi-libcxx21
  7. lang/bun
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. lang/pocl
  3. lang/zig
  4. mail/stalwart
  5. misc/codex
  6. misc/py-paddlepaddle
  7. textproc/redisearch
  8. www/deno
  9. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/electron39*
  2. Collapse this list of deleted ports.
for Fetch
  1. lang/bun
for Libraries
  1. lang/odin
  2. lang/pocl
for Run
  1. lang/pocl
  2. lang/zig

Configuration Options:
===> The following configuration options are available for llvm21-21.1.8_3: 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.

There are no commits on branch 2026Q1 for this port