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.0.r4 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-31 21:06:06
Last Update: 2024-09-12 07:15:27
Commit Hash: 7ff7bac
People watching this port, also watch:: iwmbt-firmware, perl5, bonnie, tcptestsuite, rust
Also Listed In: lang
License: BSD3CLAUSE LLVM MIT PD REGEX LLVM2
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
  • cmark
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 = 1725385330 SHA256 (llvm-project-19.1.0-rc4.src.tar.xz) = 224eb00d8281377802545442f24ae085c493d5caffaaac610056fa6835b9c4b4 SIZE (llvm-project-19.1.0-rc4.src.tar.xz) = 141255904

Packages (timestamps in pop-ups are UTC):
llvm19
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest19.1.0.r319.1.0.r4-19.1.0.r319.1.0.r4---
FreeBSD:13:quarterly--------
FreeBSD:14:latest19.1.0.r319.1.0.r4-19.1.0.r319.1.0.r4---
FreeBSD:14:quarterly--------
FreeBSD:15:latest19.1.0.r419.1.0.r4n/a19.1.0.r2n/a---
 

llvm19-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest19.1.0.r319.1.0.r4-19.1.0.r319.1.0.r4---
FreeBSD:13:quarterly--------
FreeBSD:14:latest19.1.0.r319.1.0.r4-19.1.0.r319.1.0.r4---
FreeBSD:14:quarterly--------
FreeBSD:15:latest19.1.0.r419.1.0.r4n/a19.1.0.r2n/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/emscripten

Configuration Options:
===> The following configuration options are available for llvm19-19.1.0.r4: 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.0-rc4/
Collapse this list.

Number of commits found: 7

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