| Port details |
- llvm20 LLVM and Clang
- 20.1.8 devel
=2 20.1.8Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2025-02-06 22:45:05
- Last Update: 2025-12-09 16:04:24
- Commit Hash: c181633
- People watching this port, also watch:: libthai, libXdamage, tmux, xcb-util-image, lsof
- 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/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 = 1752182934
SHA256 (llvm-project-20.1.8.src.tar.xz) = 6898f963c8e938981e6c4a302e83ec5beb4630147c7311183cf61069af16333d
SIZE (llvm-project-20.1.8.src.tar.xz) = 147242952
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/electron37
- devel/electron38
- devel/nextpnr
- devel/wasi-compiler-rt20
- devel/wasi-libcxx20
- lang/zig
-
Deleted ports which required this port:
- for Libraries
-
- devel/cppinsights
- devel/py-llvmlite
- emulators/rpcs3
- lang/crystal
- lang/lfortran
- for Run
-
- lang/zig
Configuration Options:
- ===> The following configuration options are available for llvm20-20.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_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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
20.1.8 09 Dec 2025 16:04:24
    |
Brooks Davis (brooks)  |
devel/llvm20: 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 |
20.1.8 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 |
20.1.8 11 Jul 2025 16:57:40
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.8 release
For a list of changes see the announcement:
https://discourse.llvm.org/t/llvm-20-1-8-released/87259
Sponsored by: DARPA, AFRL |
20.1.7 30 Jun 2025 22:01:24
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.7 release
See the release annoucement for changes:
https://discourse.llvm.org/t/llvm-20-1-7-released/86855
Sponsored by: DARPA, AFRL |
20.1.6_1 30 Jun 2025 21:58:37
    |
Brooks Davis (brooks)  |
devel/llvm20: Link LLDB with libxml2 to allow an interop with openocd
LLDB auto detects libxml2 by default and unlike with CLANG it's useful
for openocd support so depend on it.
Remove a seemingly useless USES=gnome from CLANG that we've been
carrying forward by accident.
While here, update to lua 5.4.
PR: 268303
Submitted by: arrowd (libxml2)
Differential Revision: https://reviews.freebsd.org/D50715 |
20.1.6 19 Jun 2025 20:28:47
    |
Charlie Li (vishwin)  |
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc
EXT_SUFFIX, according to PEP 3149, refers to the full tag and
extension for compiled extension module objects, eg .cpython-311.so,
.cpython-313t.so, etc. We do not use the correct semantic meaning,
and this usage becomes ambiguous and confusing when tags do not
match between bytecode and compiled extension module objects.
Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's
specification of a magic tag, which consists of implementation name
and shorthand version only. This is meant for bytecode and other
files containing this tag in their filename that do not depend on
a specific Python ABI for the same version. Chase all existing
consumers.
(Only the first 15 lines of the commit message are shown above ) |
20.1.6 30 May 2025 18:35:28
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.6 release
See the release announcement for changes:
https://discourse.llvm.org/t/llvm-20-1-6-released/86598
Sponsored by: DARPA, AFRL |
20.1.5 20 May 2025 19:32:31
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.5 release
See the annoucement for changes:
https://discourse.llvm.org/t/llvm-20-1-5-released/86371
Sponsored by: DARPA, AFRL |
20.1.4 05 May 2025 18:36:45
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.4 release
See the annoucement for changes:
https://discourse.llvm.org/t/llvm-20-1-4-released/86147 |
20.1.3 17 Apr 2025 20:05:04
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.3 release
See the announcement for a list of of changes:
https://discourse.llvm.org/t/llvm-20-1-3-released/85874 |
20.1.2 03 Apr 2025 17:24:19
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.2 release
See the annoucment for a list of changes:
https://discourse.llvm.org/t/llvm-20-1-2-released/85654
Sponsored by: DARPA, AFRL |
20.1.1 26 Mar 2025 16:18:13
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.1 release
See the release announcement for more details:
https://discourse.llvm.org/t/llvm-20-1-1-released/85337
Sponsored by: DARPA, AFRL |
20.1.0 11 Mar 2025 22:53:45
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.0 release
See the release announcement for details
https://discourse.llvm.org/t/llvm-20-1-0-released/85122/1
Sponsored by: DARPA, AFRL |
20.1.0.r3 27 Feb 2025 21:29:18
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.0-rc3
Changes since rc2 at:
https://discourse.llvm.org/t/llvm-20-1-0-rc3/84845
Sponsored by: DARPA, AFRL |
20.1.0.r2 12 Feb 2025 22:38:00
    |
Brooks Davis (brooks)  |
devel/llvm20: 20.1.0-rc2
See the release notes for changes since rc1:
https://discourse.llvm.org/t/llvm-20-1-0-rc2/84606
Sponsored by: DARPA, AFRL |
20.1.0.r1 10 Feb 2025 17:28:27
    |
Brooks Davis (brooks)  |
devel/llvm20: handle SPIRV backend
This fixes the plist with BE_NATIVE or BE_FREEBSD.
PR: 284665
Reported by: philippe.michel7@free.fr
Sponsoredy by: DARPA, AFRL |
20.1.0.r1 07 Feb 2025 17:35:58
    |
Brooks Davis (brooks)  |
devel/llvm20: Fix plist without FLANG
Reported by: cy |
20.1.0.r1 06 Feb 2025 22:40:34
    |
Brooks Davis (brooks)  |
devel/llvm20: welcome 20.1.0-rc1
Stop building 32-bit sanitizers (i386 and powerpc) on amd64 and
powerpc64. They cause dependencies on 32-bit libraries with pkg 2.0 and
their build is fragile. This would benefit from subpackages, but they
aren't here yet.
Sponsored by: DARPA, AFRL |
19.1.7_1 06 Feb 2025 22:40:05
    |
Brooks Davis (brooks)  |
devel/llvm20: bootstrap from llvm19
Copy devel/llvm19 to devel/llvm20 unmodified to aid history tracking.
The next commit will modify it and connect it to the build.
Sponsored by: DARPA, AFRL |