Port details |
- llvm21 LLVM and Clang
- 21.1.1 devel
=1 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2025-07-30 12:12:04
- Last Update: 2025-09-11 12:48:22
- Commit Hash: ca6ea70
- 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.
¦ ¦ ¦ ¦ 
- 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/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 = 1757584277
SHA256 (llvm-project-21.1.1.src.tar.xz) = 8863980e14484a72a9b7d2c80500e1749054d74f08f8c5102fd540a3c5ac9f8a
SIZE (llvm-project-21.1.1.src.tar.xz) = 158891056
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-myst-parser>0 : textproc/py-myst-parser@py311
- py311-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py311
- py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
- ld.gold : devel/binutils
- py311-pexpect>0 : misc/py-pexpect@py311
- swig : devel/swig
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- perl5>=5.42.r<5.43 : lang/perl5.42
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- 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
-
- devel/wasi-compiler-rt21
- devel/wasi-libcxx21
- for Libraries
-
- devel/spirv-llvm-translator
Configuration Options:
- ===> The following configuration options are available for llvm21-21.1.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_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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
21.1.1 11 Sep 2025 12:48:22
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Robert Clausecker (fuz)  |
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
    |
Brooks Davis (brooks)  |
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
    |
Brooks Davis (brooks)  |
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. |