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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
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.1Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-02-06 22:45:05
Last Update: 2025-06-30 22:01:24
Commit Hash: 7e95da3
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.
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

Packages (timestamps in pop-ups are UTC):
llvm20
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20.1.620.1.6-20.1.620.1.6---
FreeBSD:13:quarterly20.1.120.1.1-20.1.120.1.1---
FreeBSD:14:latest20.1.420.1.6-20.1.420.1.6---
FreeBSD:14:quarterly20.1.120.1.1-20.1.120.1.1---
FreeBSD:15:latest20.1.420.1.6n/a20.1.4n/a---
 

llvm20-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20.1.620.1.6-20.1.620.1.6---
FreeBSD:13:quarterly20.1.120.1.1-20.1.120.1.1---
FreeBSD:14:latest20.1.420.1.6-20.1.420.1.6---
FreeBSD:14:quarterly20.1.120.1.1-20.1.120.1.1---
FreeBSD:15:latest20.1.420.1.6n/a20.1.4n/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.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
This port is required by:
for Build
  1. devel/include-what-you-use
  2. devel/wasi-compiler-rt20
  3. devel/wasi-libcxx20
for Libraries
  1. devel/cppinsights
  2. devel/spirv-llvm-translator
  3. lang/crystal
  4. lang/lfortran
for Run
  1. devel/include-what-you-use

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: 16

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20.1.7
30 Jun 2025 22:01:24
commit hash: 7e95da30d98241d88ee3667759730eeeb74febabcommit hash: 7e95da30d98241d88ee3667759730eeeb74febabcommit hash: 7e95da30d98241d88ee3667759730eeeb74febabcommit hash: 7e95da30d98241d88ee3667759730eeeb74febab files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: b2026d34430c8ce9df02f84460d406ee2cd9a141commit hash: b2026d34430c8ce9df02f84460d406ee2cd9a141commit hash: b2026d34430c8ce9df02f84460d406ee2cd9a141commit hash: b2026d34430c8ce9df02f84460d406ee2cd9a141 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6commit hash: 4f0eba1efd73e85ccb544708c967bca70ad3e7a6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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 View all of this commit message)
20.1.6
30 May 2025 18:35:28
commit hash: 9ab771640b1d70c7d143a3ee3a59d0cc3f7dce21commit hash: 9ab771640b1d70c7d143a3ee3a59d0cc3f7dce21commit hash: 9ab771640b1d70c7d143a3ee3a59d0cc3f7dce21commit hash: 9ab771640b1d70c7d143a3ee3a59d0cc3f7dce21 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 1c6f3f16456193f3076fb084ad393dc5e217f71acommit hash: 1c6f3f16456193f3076fb084ad393dc5e217f71acommit hash: 1c6f3f16456193f3076fb084ad393dc5e217f71acommit hash: 1c6f3f16456193f3076fb084ad393dc5e217f71a files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: cbd8b0bff52e160294e91f15a30bba69c8404effcommit hash: cbd8b0bff52e160294e91f15a30bba69c8404effcommit hash: cbd8b0bff52e160294e91f15a30bba69c8404effcommit hash: cbd8b0bff52e160294e91f15a30bba69c8404eff files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 48d6a85629654c31b082247bd2da52ff6d3e8e11commit hash: 48d6a85629654c31b082247bd2da52ff6d3e8e11commit hash: 48d6a85629654c31b082247bd2da52ff6d3e8e11commit hash: 48d6a85629654c31b082247bd2da52ff6d3e8e11 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: ed3db3089894a20cdc957ed08982cf6c6c90b237commit hash: ed3db3089894a20cdc957ed08982cf6c6c90b237commit hash: ed3db3089894a20cdc957ed08982cf6c6c90b237commit hash: ed3db3089894a20cdc957ed08982cf6c6c90b237 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: f769ee17868a34d0cd36a426822847194654545acommit hash: f769ee17868a34d0cd36a426822847194654545acommit hash: f769ee17868a34d0cd36a426822847194654545acommit hash: f769ee17868a34d0cd36a426822847194654545a files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: dc3146bebc3907e2fedf5a6c42491fff1103cfb6commit hash: dc3146bebc3907e2fedf5a6c42491fff1103cfb6commit hash: dc3146bebc3907e2fedf5a6c42491fff1103cfb6commit hash: dc3146bebc3907e2fedf5a6c42491fff1103cfb6 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 034a2436fba14f4163ff244d2648320280cedfe4commit hash: 034a2436fba14f4163ff244d2648320280cedfe4commit hash: 034a2436fba14f4163ff244d2648320280cedfe4commit hash: 034a2436fba14f4163ff244d2648320280cedfe4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: 17a201c9a82e8bad16577368407c075cf76cbdfbcommit hash: 17a201c9a82e8bad16577368407c075cf76cbdfbcommit hash: 17a201c9a82e8bad16577368407c075cf76cbdfbcommit hash: 17a201c9a82e8bad16577368407c075cf76cbdfb files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: ce2cdd371806749911cd7ac38be8421213c762efcommit hash: ce2cdd371806749911cd7ac38be8421213c762efcommit hash: ce2cdd371806749911cd7ac38be8421213c762efcommit hash: ce2cdd371806749911cd7ac38be8421213c762ef files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: f568f262d3683577252814fc6706daa1d5123751commit hash: f568f262d3683577252814fc6706daa1d5123751commit hash: f568f262d3683577252814fc6706daa1d5123751commit hash: f568f262d3683577252814fc6706daa1d5123751 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm20: Fix plist without FLANG

Reported by:	cy
20.1.0.r1
06 Feb 2025 22:40:34
commit hash: e60587cdbdef8592e0a4d4840e40a6e1b54912d4commit hash: e60587cdbdef8592e0a4d4840e40a6e1b54912d4commit hash: e60587cdbdef8592e0a4d4840e40a6e1b54912d4commit hash: e60587cdbdef8592e0a4d4840e40a6e1b54912d4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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
commit hash: ef18b7c1deb37f5ddd33e47131f0a83b3906c764commit hash: ef18b7c1deb37f5ddd33e47131f0a83b3906c764commit hash: ef18b7c1deb37f5ddd33e47131f0a83b3906c764commit hash: ef18b7c1deb37f5ddd33e47131f0a83b3906c764 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
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

Number of commits found: 16