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 on branch 2023Q2
llvm15 LLVM and Clang
15.0.7_4 devel on this many watch lists=1 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 15.0.7_10Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-04-18 19:33:15
Last Update: 2023-06-23 21:01:37
Commit Hash: 880ad3b
People watching this port, also watch:: cytoscape, openjdk8, tmux, xen-kernel, python311
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • llvm15>0:devel/llvm15
Conflicts:
CONFLICTS_BUILD:
  • cmark
CONFLICTS_INSTALL:
  • llvm15
  • llvm15-lite
To install the port:
cd /usr/ports/devel/llvm15/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm15
  • pkg install llvm15
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm15
Package flavors (<flavor>: <package>)
  • default: llvm15
  • lite: llvm15-lite
distinfo:
TIMESTAMP = 1673554510 SHA256 (llvm-project-15.0.7.src.tar.xz) = 8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6 SIZE (llvm-project-15.0.7.src.tar.xz) = 110936452

Packages (timestamps in pop-ups are UTC):
llvm15
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest15.0.7_1015.0.7_10-15.0.7_1015.0.7_10n/an/an/a
FreeBSD:13:quarterly15.0.7_1015.0.7_1015.0.7_515.0.7_1015.0.7_10n/an/an/a
FreeBSD:14:latest15.0.7_1015.0.7_1015.0.6_115.0.7_1015.0.7_1015.0.7_3-15.0.7_3
FreeBSD:14:quarterly15.0.7_1015.0.7_10-15.0.7_1015.0.7_1015.0.7_915.0.7_915.0.7_9
FreeBSD:15:latest15.0.7_1015.0.7_10n/a15.0.7_10n/an/a15.0.7_1015.0.7_10
FreeBSD:15:quarterly15.0.7_1015.0.7_10n/a-n/an/a--
FreeBSD:16:latest15.0.7_1015.0.7_10n/a-n/an/a--
 

llvm15-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest15.0.7_1015.0.7_10-15.0.7_1015.0.7_10n/an/an/a
FreeBSD:13:quarterly15.0.7_1015.0.7_1015.0.7_515.0.7_1015.0.7_10n/an/an/a
FreeBSD:14:latest15.0.7_1015.0.7_10-15.0.7_1015.0.7_1015.0.7_3-15.0.7_3
FreeBSD:14:quarterly15.0.7_1015.0.7_10-15.0.7_1015.0.7_1015.0.7_915.0.7_915.0.7_9
FreeBSD:15:latest15.0.7_1015.0.7_10n/a15.0.7_10n/an/a15.0.7_1015.0.7_10
FreeBSD:15:quarterly15.0.7_1015.0.7_10n/a-n/an/a--
FreeBSD:16:latest15.0.7_1015.0.7_10n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-sphinx-markdown-tables>=0 : textproc/py-sphinx-markdown-tables@py39
  2. py39-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py39
  3. ld.gold : devel/binutils
  4. swig : devel/swig
  5. cmake : devel/cmake-core
  6. ninja : devel/ninja
  7. python3.9 : lang/python39
  8. perl5>=5.32.r0<5.33 : lang/perl5.32
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
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/vc-intrinsics
  2. www/chromium
  3. www/iridium
  4. www/ungoogled-chromium
for Libraries
  1. devel/opencl-clang
  2. graphics/mesa-devel

Configuration Options:
===> The following configuration options are available for llvm15-15.0.7_4: 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=off: Multi-Level Intermediate Representation OPENMP=on: Install libomp, the LLVM OpenMP runtime library 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_llvm15
USES:
cmake compiler:c++11-lib cpe perl5 tar:xz shebangfix python:3.7+ lua:53 libedit gnome
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.7/
  2. https://releases.llvm.org/15.0.7/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
15.0.7_4
23 Jun 2023 21:01:37
commit hash: 880ad3b00f273d47831d183ac44f3b3074d0875acommit hash: 880ad3b00f273d47831d183ac44f3b3074d0875acommit hash: 880ad3b00f273d47831d183ac44f3b3074d0875acommit hash: 880ad3b00f273d47831d183ac44f3b3074d0875a files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm15: arm fixes, lite default change

Change the lite flavor to default to BE_FREEBSD rather than BE_NATIVE to
allow its use in cross-build CI pipelines.

Backport fix for LLVM bug 61396. [0]  This fixes miscompilation of gcc
on 32-bit arm.

Remove an obsolete patch which breaks arm64. [1]

PR:		271992 [0], 271616 [1]
Reported by:	jfc@mit.edu [0,1]

(cherry picked from commit f67260aafd1cfb5eb91cfc72df80a00ef8b87e13)
15.0.7_3
13 Jun 2023 18:02:38
commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408commit hash: 002024a3a13eff3a297b88c8fcc511fcc1d45408 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm*: Consistently use python:3.7+

llvm12 was inappropriately constrained to 3.6-3.9 breaking the ability
to set 3.10 as the default.  llvm11 just specified "python", but there's
no need to keep 2.7 support around.  The rest had obsolete 3.6+ entries.

No functional change: This is not expected to change the version of
python used.

PR:		270978
Reported by:	michael.osipov@siemens.com
Sponsored by:	DARPA

(cherry picked from commit fb323dfd2ac2499f35e4d31a24fd9dd958af619a)
15.0.7_3
18 Apr 2023 19:29:56
commit hash: f8c110106e2d0be76c46327d56f5b51643479634commit hash: f8c110106e2d0be76c46327d56f5b51643479634commit hash: f8c110106e2d0be76c46327d56f5b51643479634commit hash: f8c110106e2d0be76c46327d56f5b51643479634 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm15: add a lite FLAVOR

The lite flavor is for when you just need a FreeBSD compiler (e.g., in
CI).  By default it includes CLANG and LLD as well as backends required
for FreeBSD and FreeBSD ports (BE_NATIVE, BE_AMDGPU, and BE_WASM).

The lite install is ~350GiB on amd64 vs ~1.7GiB for default and it has
only a single dependency (zstandard).  (The goal was no dependencies,
but libzstd is a private lib in base.)

Bump PORT_REVISION due to removal of clang libxml2 dependency.

Sponsored by:	DARPA
(cherry picked from commit af979dd126ff49eabb75e48087ee284e288da322)
15.0.7_2
18 Apr 2023 19:29:56
commit hash: a6ddd5c19e6d73fba8b19c7f54bb40dc8254eec1commit hash: a6ddd5c19e6d73fba8b19c7f54bb40dc8254eec1commit hash: a6ddd5c19e6d73fba8b19c7f54bb40dc8254eec1commit hash: a6ddd5c19e6d73fba8b19c7f54bb40dc8254eec1 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm15: add a STATIC_LIBS option

When enabled (default) assorted LLVM componant static libraries are
included in the package.  Disabling this option reduces the installed
size by ~1GiB.

Sponsored by:	DARPA
(cherry picked from commit 87c9657029fac3e26a5d43195da5d8aec16ee70b)
15.0.7_2
18 Apr 2023 19:29:56
commit hash: 9006d9885540cfd59f3fd94d8d392a918abbe4fecommit hash: 9006d9885540cfd59f3fd94d8d392a918abbe4fecommit hash: 9006d9885540cfd59f3fd94d8d392a918abbe4fecommit hash: 9006d9885540cfd59f3fd94d8d392a918abbe4fe files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm15: enable ARM backend on aarch64

When BE_NATIVE is specified on aarch64, include the ARM (32-bit)
backend.

Sponsored by:	DARPA
(cherry picked from commit 2aa44a22860da6caa6128abff69a297c3a80f392)

Number of commits found: 5