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
Port details
llvm19 LLVM and Clang
19.1.7 devel on this many watch lists=3 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 19.1.6Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-31 21:06:06
Last Update: 2025-01-14 22:34:38
Commit Hash: e333e1e
People watching this port, also watch:: iwmbt-firmware, perl5, bonnie, tcptestsuite, rust
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:
  • llvm19>0:devel/llvm19
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
CONFLICTS_INSTALL:
  • llvm19
  • llvm19-lite
To install the port:
cd /usr/ports/devel/llvm19/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm19
  • pkg install llvm19
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm19
Package flavors (<flavor>: <package>)
  • default: llvm19
  • lite: llvm19-lite
distinfo:
TIMESTAMP = 1736873124 SHA256 (llvm-project-19.1.7.src.tar.xz) = 82401fea7b79d0078043f7598b835284d6650a75b93e64b6f761ea7b63097501 SIZE (llvm-project-19.1.7.src.tar.xz) = 141249332

Packages (timestamps in pop-ups are UTC):
llvm19
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest19.1.719.1.7-19.1.719.1.7---
FreeBSD:13:quarterly19.1.619.1.6-19.1.119.1.6---
FreeBSD:14:latest19.1.619.1.7-19.1.619.1.7---
FreeBSD:14:quarterly19.1.619.1.6-19.1.619.1.6---
FreeBSD:15:latest19.1.719.1.7n/a19.1.7n/a---
 

llvm19-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest19.1.719.1.7-19.1.719.1.7---
FreeBSD:13:quarterly19.1.619.1.6-19.1.119.1.6---
FreeBSD:14:latest19.1.619.1.7-19.1.619.1.7---
FreeBSD:14:quarterly19.1.619.1.6-19.1.619.1.6---
FreeBSD:15:latest19.1.719.1.7n/a19.1.7n/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/electron32
  2. devel/electron33
  3. devel/include-what-you-use
  4. devel/wasi-compiler-rt19
  5. devel/wasi-libcxx19
  6. multimedia/ossia-score
  7. www/chromium
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/ungoogled-chromium
  3. Collapse this list.
for Libraries
  1. audio/faust
  2. devel/cppinsights
  3. devel/spirv-llvm-translator
  4. textproc/castxml
for Run
  1. devel/include-what-you-use

Configuration Options:
===> The following configuration options are available for llvm19-19.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_llvm19
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-19.1.7/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
19.1.7
14 Jan 2025 22:34:38
commit hash: e333e1ef90228d781f3386ad13b2de0f1d5efce4commit hash: e333e1ef90228d781f3386ad13b2de0f1d5efce4commit hash: e333e1ef90228d781f3386ad13b2de0f1d5efce4commit hash: e333e1ef90228d781f3386ad13b2de0f1d5efce4 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.7 release

See the release announcement for changes:
    https://discourse.llvm.org/t/llvm-19-1-7-released/84062

Sponsored by:	DARPA, AFRL
19.1.6_1
13 Jan 2025 23:53:16
commit hash: e08503b86df7a69d55575669966a0dae54f84e93commit hash: e08503b86df7a69d55575669966a0dae54f84e93commit hash: e08503b86df7a69d55575669966a0dae54f84e93commit hash: e08503b86df7a69d55575669966a0dae54f84e93 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: Fix !CLANG plist and OPENMP

llvm-debuginfo-analyzer isn't part of Clang, but was matched by the
overly broad pattern `-analyzer`. [0]

Fix USE_LDCONFIG for OPENMP. [1]

Reported by:	jrtc27 [0], tijl [1]
Sponsored by:	DARPA, AFRL
19.1.6
03 Jan 2025 23:56:57
commit hash: 57f97b36a7cfe19702fbf967e31e0403b72a7ea3commit hash: 57f97b36a7cfe19702fbf967e31e0403b72a7ea3commit hash: 57f97b36a7cfe19702fbf967e31e0403b72a7ea3commit hash: 57f97b36a7cfe19702fbf967e31e0403b72a7ea3 files touched by this commit Sanity Test Failure
Brooks Davis (brooks) search for other commits by this committer
devel/llvm*: flip LICENSE_FILE_BSD3CLAUSE setting [NFC]

The location of this license file moved in LLVM 16.  Since I'm doing
cleanup in this area and the split of ports is about 50/50, switch to
setting the old location in the older ports so the newer ports set fewer
variables.

Sponsored by:	DARPA, AFRL
19.1.6
03 Jan 2025 23:56:56
commit hash: 4f177eced75e0e3fb1c5a9f782b6810e253265f9commit hash: 4f177eced75e0e3fb1c5a9f782b6810e253265f9commit hash: 4f177eced75e0e3fb1c5a9f782b6810e253265f9commit hash: 4f177eced75e0e3fb1c5a9f782b6810e253265f9 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm*: LICENSE_DIR simplification

WRKSRC moved to the top of the source tree with llvm12.  As a result,
LICENSE_DIR became ${WRKSRC}/llvm.  Given that llvm11 the only port that
wasn't setting LICENSE_DIR, flip the script and default to
${WRKSRC}/llvm with llvm11 overriding.

Sponsored by:	DARPA, AFRL
19.1.6
03 Jan 2025 23:56:56
commit hash: d17143d1b73eee11b9196c2603636eebdcb8c2fecommit hash: d17143d1b73eee11b9196c2603636eebdcb8c2fecommit hash: d17143d1b73eee11b9196c2603636eebdcb8c2fecommit hash: d17143d1b73eee11b9196c2603636eebdcb8c2fe files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm*: don't define the ARM license [NFC]

All LLVM ports excluded it from the list as it was removed many years
ago.

Sponsored by:	DARPA, AFRL
19.1.6
03 Jan 2025 23:56:56
commit hash: 18840affe5cd004d73517102a0a11b56ed087babcommit hash: 18840affe5cd004d73517102a0a11b56ed087babcommit hash: 18840affe5cd004d73517102a0a11b56ed087babcommit hash: 18840affe5cd004d73517102a0a11b56ed087bab files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm*: Always define LLVM2 license [NFC]

All LLVM ports in the tree use the Apache License 2.0 with LLVM
Exceptions license so cerntralize the definition.

Sponsored by:	DARPA, AFRL
19.1.6
18 Dec 2024 01:22:34
commit hash: 983003a6153f1727cc46921197a8b0718f2b4e3ecommit hash: 983003a6153f1727cc46921197a8b0718f2b4e3ecommit hash: 983003a6153f1727cc46921197a8b0718f2b4e3ecommit hash: 983003a6153f1727cc46921197a8b0718f2b4e3e files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.6 release

See the release annoucement for details:
    https://discourse.llvm.org/t/llvm-19-1-6-released/83723

Backport loongarch64 triple support from upstream LLVM.
19.1.5
04 Dec 2024 20:40:38
commit hash: fd0b4dec18dda5b79ec817f01f6e7bee0d4738fbcommit hash: fd0b4dec18dda5b79ec817f01f6e7bee0d4738fbcommit hash: fd0b4dec18dda5b79ec817f01f6e7bee0d4738fbcommit hash: fd0b4dec18dda5b79ec817f01f6e7bee0d4738fb files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.5

See release annoucement for changes:
    https://discourse.llvm.org/t/llvm-19-1-5-released/83455

Sponsored by:	DARPA, AFRL
19.1.4
19 Nov 2024 17:30:57
commit hash: 705ee5784b0bceb42f992cc049d090971227f771commit hash: 705ee5784b0bceb42f992cc049d090971227f771commit hash: 705ee5784b0bceb42f992cc049d090971227f771commit hash: 705ee5784b0bceb42f992cc049d090971227f771 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.4 release

See the release notes for changes:
    https://discourse.llvm.org/t/llvm-19-1-4-released/83230

Sponsored by:	DARPA, AFRL
19.1.3
30 Oct 2024 16:54:37
commit hash: 78e57e5ba2513f647b08e905081aab6fc379995ecommit hash: 78e57e5ba2513f647b08e905081aab6fc379995ecommit hash: 78e57e5ba2513f647b08e905081aab6fc379995ecommit hash: 78e57e5ba2513f647b08e905081aab6fc379995e files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.3 release

See the release annoucement for changes:
	https://discourse.llvm.org/t/llvm-19-1-3-relased/82829

Sponsored by:	DARPA, AFRL
19.1.2
16 Oct 2024 00:36:38
commit hash: bb4c04f85eec966dd8df44304170e95c8da086c2commit hash: bb4c04f85eec966dd8df44304170e95c8da086c2commit hash: bb4c04f85eec966dd8df44304170e95c8da086c2commit hash: bb4c04f85eec966dd8df44304170e95c8da086c2 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.2 release

See the release annoucement for further details:

https://discourse.llvm.org/t/llvm-19-1-2-released/82550
19.1.1
01 Oct 2024 23:16:46
commit hash: 78c7700b5c2bd7501137472e754fb640b486ee1acommit hash: 78c7700b5c2bd7501137472e754fb640b486ee1acommit hash: 78c7700b5c2bd7501137472e754fb640b486ee1acommit hash: 78c7700b5c2bd7501137472e754fb640b486ee1a files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.1 release

Remove obsolete build conflict with cmark.

PR:		239636, 274848
19.1.0
19 Sep 2024 10:22:18
commit hash: 8cba413fbab7f232275c57f080001d2041fb7a9ccommit hash: 8cba413fbab7f232275c57f080001d2041fb7a9ccommit hash: 8cba413fbab7f232275c57f080001d2041fb7a9ccommit hash: 8cba413fbab7f232275c57f080001d2041fb7a9c files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.0 release

Sponsored by: 	DARPA, AFRL
19.1.0.r4
12 Sep 2024 07:15:27
commit hash: 7ff7bac6370f6bb880187ec31dcd54fd046ffcd2commit hash: 7ff7bac6370f6bb880187ec31dcd54fd046ffcd2commit hash: 7ff7bac6370f6bb880187ec31dcd54fd046ffcd2commit hash: 7ff7bac6370f6bb880187ec31dcd54fd046ffcd2 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm[789]: restore arm_bf16.h to ARM backend

arm_bf16.h is generated for both armv7 and aarch64 so move it back to
ARM.  We don't support AArch64 without ARM so we can just move it and
not need to worry about duplicate supression (I'd previously fixed the
issue in llvm19 in a more complicated manner so this change removes the
duplicate supression and documents why it's not needed.)

PR:		281179
Reported by:	Mark Millard
19.1.0.r4
03 Sep 2024 21:38:28
commit hash: f3785e527f7f924b78c7b9049db40faa1ba0c095commit hash: f3785e527f7f924b78c7b9049db40faa1ba0c095commit hash: f3785e527f7f924b78c7b9049db40faa1ba0c095commit hash: f3785e527f7f924b78c7b9049db40faa1ba0c095 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: update to 19.1.0-rc4

arm_bf16.h is installed by the ARM backend as well as AArch64 so handle
that.

Patch out upstream 6d7e428df611 which traded a false negative for a
false positive when compiling compiler-rt for i386.

Fix default options for 32-bit powerpc arches.

PR:		281179
19.1.0.r3
27 Aug 2024 19:23:24
commit hash: d9e2a160058e1a884b266702c6249b7a20d18fcbcommit hash: d9e2a160058e1a884b266702c6249b7a20d18fcbcommit hash: d9e2a160058e1a884b266702c6249b7a20d18fcbcommit hash: d9e2a160058e1a884b266702c6249b7a20d18fcb files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.0-rc3

Sponsored by:	DARPA, AFRL
19.1.0.r2
27 Aug 2024 19:23:23
commit hash: 58dba5b8212fd4dc77e07f58810ae959ae29fc6ecommit hash: 58dba5b8212fd4dc77e07f58810ae959ae29fc6ecommit hash: 58dba5b8212fd4dc77e07f58810ae959ae29fc6ecommit hash: 58dba5b8212fd4dc77e07f58810ae959ae29fc6e files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: prune build on 32-bit archs

Given trends in compiler resource use, it is incresingly implausible to
consider cross-development from a 32-bit system.  As such, stop spending
time building LLVM bits are are vinishingly unlikely to be used on
32-bit systems.

Default to BE_NATIVE (no cross build support) on 32-bit plaforms.
Disable BE_AMDGPU and BE_WASM as well.  BE_AMDGPU consumes enormous
amounts of memory.  BE_WASM is less problematic, but no one has stood up
to say they need it so turn it off for now.

Completely disable MLIR and POLLY on 32-bit.  Just building MLIR fails
routinly on armv7 and there aren't a lot of direct users (it's used by
FLANG, but FLANG is 64-bit only).  Polly is pretty niche and adds quite
a bit of build time.

Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D46239
19.1.0.r2
05 Aug 2024 18:20:54
commit hash: 1ec34836eae5195197ac15c0461734c34dff833dcommit hash: 1ec34836eae5195197ac15c0461734c34dff833dcommit hash: 1ec34836eae5195197ac15c0461734c34dff833dcommit hash: 1ec34836eae5195197ac15c0461734c34dff833d files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: 19.1.0-rc2

See https://discourse.llvm.org/t/llvm-19-1-0-rc2-released/80549 for a
change log.

Sponsored by:	 DARPA, AFRL
19.1.0.r1
31 Jul 2024 21:04:15
commit hash: 09af49b2b2074d4e27faf05694ebba8e47d49219commit hash: 09af49b2b2074d4e27faf05694ebba8e47d49219commit hash: 09af49b2b2074d4e27faf05694ebba8e47d49219commit hash: 09af49b2b2074d4e27faf05694ebba8e47d49219 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: Update from llvm18 and connect
18.1.8_1
31 Jul 2024 21:04:15
commit hash: 90654998ef6b145062b86453f64491a653352085commit hash: 90654998ef6b145062b86453f64491a653352085commit hash: 90654998ef6b145062b86453f64491a653352085commit hash: 90654998ef6b145062b86453f64491a653352085 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm19: copy from devel/llvm18

This is a complete unmodifed copy to simplify history tracking.

Number of commits found: 20