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 2024Q1
llvm16 LLVM and Clang
16.0.6_9 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 16.0.6_9Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-01-12 16:39:06
Last Update: 2024-01-12 16:37:34
Commit Hash: c91d810
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:
  • llvm16>0:devel/llvm16
Conflicts:
CONFLICTS_BUILD:
  • cmark
CONFLICTS_INSTALL:
  • llvm16
  • llvm16-lite
To install the port:
cd /usr/ports/devel/llvm16/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm16
  • pkg install llvm16
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm16
Package flavors (<flavor>: <package>)
  • default: llvm16
  • lite: llvm16-lite
distinfo:
TIMESTAMP = 1686758340 SHA256 (llvm-project-16.0.6.src.tar.xz) = ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e SIZE (llvm-project-16.0.6.src.tar.xz) = 118013488

Expand this list (4 items)

Collapse this list.

SHA256 (llvmorg-18-init-15199-gb9935bb02a50.patch) = b0805cba765084c7bef426fa1235dd887c61ae0c1fd5e3fad5c8742cdd6ee8b0 SIZE (llvmorg-18-init-15199-gb9935bb02a50.patch) = 1893 SHA256 (llvmorg-18-init-15680-g966d564e43e6.patch) = 3abf92d4a788ff2f74fa9fc627a113f04d9fb72cd7e47344a8c4dce06140a163 SIZE (llvmorg-18-init-15680-g966d564e43e6.patch) = 1297

Collapse this list.


Packages (timestamps in pop-ups are UTC):
llvm16
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_11---
FreeBSD:13:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:14:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.5--
FreeBSD:14:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:15:latest16.0.6_1116.0.6_11n/a16.0.6_11n/a16.0.6_1016.0.6_1016.0.6_10
 

llvm16-lite
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_11---
FreeBSD:13:quarterly16.0.6_1116.0.6_1116.0.6_516.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:14:latest16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.5-16.0.5
FreeBSD:14:quarterly16.0.6_1116.0.6_11-16.0.6_1116.0.6_1116.0.6_916.0.6_916.0.6_9
FreeBSD:15:latest16.0.6_1116.0.6_11n/a16.0.6_11n/a16.0.6_1016.0.6_1016.0.6_10
 

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.36<5.37 : lang/perl5.36
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
  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/electron26
  2. devel/electron27
  3. www/iridium
for Libraries
  1. emulators/rpcs3

Configuration Options:
===> The following configuration options are available for llvm16-16.0.6_9: 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=off: 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_llvm16
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 (2 items)
Collapse this list.
  1. https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/
  2. https://releases.llvm.org/16.0.6/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16.0.6_9
12 Jan 2024 16:37:34
commit hash: c91d810f65bbffe63287b537f025566ad7e2e598commit hash: c91d810f65bbffe63287b537f025566ad7e2e598commit hash: c91d810f65bbffe63287b537f025566ad7e2e598commit hash: c91d810f65bbffe63287b537f025566ad7e2e598 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/llvm14 devel/llvm15 devel/llvm16 devel/llvm17: fix build with clang 18

Clang 18 is more strict in checking inline assembly constraints,
resulting in an error building devel/llvm14, devel/llvm15, devel/llvm16,
and devel/llvm17:

 
/wrkdirs/usr/ports/devel/llvm14/work-default/llvm-project-14.0.6.src/compiler-rt/lib/asan/asan_rtl_x86_64.S:130:286:
error: displacement 70368744177664 is not within [-2147483648, 2147483647]

This is fixed by two upstream commits:
https://github.com/llvm/llvm-project/commit/b9935bb02a50
https://github.com/llvm/llvm-project/commit/966d564e43e6

PR:		276155
Approved by:	brooks (maintainer)
MFH:		2024Q1

(cherry picked from commit 0b672496d6927004bfcb41db685a66750420ead4)

Number of commits found: 1