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

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
llvm20 LLVM and Clang
20.1.2 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-04-03 17:24:19
Commit Hash: ed3db30
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 = 1743644791 SHA256 (llvm-project-20.1.2.src.tar.xz) = f0a4a240aabc9b056142d14d5478bb6d962aeac549cbd75b809f5499240a8b38 SIZE (llvm-project-20.1.2.src.tar.xz) = 147229028

Packages (timestamps in pop-ups are UTC):
llvm20
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20.1.020.1.1-20.1.020.1.1---
FreeBSD:13:quarterly----20.1.1---
FreeBSD:14:latest20.1.020.1.2-20.1.020.1.2---
FreeBSD:14:quarterly-20.1.1--20.1.1---
FreeBSD:15:latest20.1.020.1.0n/a20.1.0n/a---
 

llvm20-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20.1.020.1.1-20.1.020.1.1---
FreeBSD:13:quarterly----20.1.1---
FreeBSD:14:latest20.1.020.1.2-20.1.020.1.2---
FreeBSD:14:quarterly-20.1.1--20.1.1---
FreeBSD:15:latest20.1.020.1.0n/a20.1.0n/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.36<5.37 : lang/perl5.36
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
  2. perl5>=5.36<5.37 : lang/perl5.36
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. liblua-5.3.so : lang/lua53
  3. libedit.so.0 : devel/libedit
This port is required by:
for Build
  1. devel/wasi-compiler-rt20
  2. devel/wasi-libcxx20
for Libraries
  1. devel/spirv-llvm-translator
  2. lang/lfortran

Configuration Options:
===> The following configuration options are available for llvm20-20.1.2: 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 lua:53 libedit gnome
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.2/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 9