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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
There is a known issue with processing of security/vuxml data. As a results, the "Lastest Vulnerabilities" box is out of date and new entries after 2025-Sep-02 are not shown.
Port details on branch 2025Q3
llvm20 LLVM and Clang
20.1.7 devel on this many watch lists=0 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 20.1.7Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-08-10 19:21:46
Last Update: 2025-08-10 19:19:11
Commit Hash: 22a70e1
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:
  • llvm20>0:devel/llvm20
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
CONFLICTS_INSTALL:
  • llvm20
  • llvm20-lite
To install the port:
cd /usr/ports/devel/llvm20/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm20
  • pkg install llvm20
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm20
Package flavors (<flavor>: <package>)
  • default: llvm20
  • lite: llvm20-lite
distinfo:
TIMESTAMP = 1751313990 SHA256 (llvm-project-20.1.7.src.tar.xz) = cd8fd55d97ad3e360b1d5aaf98388d1f70dfffb7df36beee478be3b839ff9008 SIZE (llvm-project-20.1.7.src.tar.xz) = 147245448

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: pkg-fallout
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.40.r<5.41 : lang/perl5.40
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
  2. perl5>=5.40.r<5.41 : lang/perl5.40
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
There are no ports dependent upon this port

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

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20.1.7
10 Aug 2025 19:19:11
commit hash: 22a70e1ef8e1e70387f722881f0fd785fc3f99f9commit hash: 22a70e1ef8e1e70387f722881f0fd785fc3f99f9commit hash: 22a70e1ef8e1e70387f722881f0fd785fc3f99f9commit hash: 22a70e1ef8e1e70387f722881f0fd785fc3f99f9 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

(cherry picked from commit 39a32a2841cdf2ba43fcce1d8446abe1057ba755)

Number of commits found: 1