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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2025Q1
llvm18 LLVM and Clang
18.1.8_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 18.1.8_2Version of this port present on the latest quarterly branch.
Maintainer: brooks@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-03-17 18:41:59
Last Update: 2025-03-17 18:38:09
Commit Hash: 48d88a1
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • llvm18>0:devel/llvm18
Conflicts:
CONFLICTS_BUILD:
  • amd64-binutils
CONFLICTS_INSTALL:
  • llvm18
  • llvm18-lite
To install the port:
cd /usr/ports/devel/llvm18/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/llvm18
  • pkg install llvm18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llvm18
Package flavors (<flavor>: <package>)
  • default: llvm18
  • lite: llvm18-lite
distinfo:
TIMESTAMP = 1719009196 SHA256 (llvm-project-18.1.8.src.tar.xz) = 0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a SIZE (llvm-project-18.1.8.src.tar.xz) = 132067260

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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. swig : devel/swig
  6. cmake : devel/cmake-core
  7. ninja : devel/ninja
  8. python3.11 : lang/python311
  9. 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/electron33

Configuration Options:
===> The following configuration options are available for llvm18-18.1.8_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_llvm18
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-18.1.8/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
18.1.8_2
17 Mar 2025 18:38:09
commit hash: 48d88a1daa6bffcfe8cf571e69c844d3787c4d4ccommit hash: 48d88a1daa6bffcfe8cf571e69c844d3787c4d4ccommit hash: 48d88a1daa6bffcfe8cf571e69c844d3787c4d4ccommit hash: 48d88a1daa6bffcfe8cf571e69c844d3787c4d4c files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm18: backport llvm19 fixes

Pull in the patch from llvm1[567] and manually patch fold-logical.cpp
(there's nothing sensible to back port because the offending code was
rewritten in a commit that doesn't apply easily between 18 and 19.)

PR:		283966, 285195
Submitted by:	milios@ccsys.com (fixed backport patch)

(cherry picked from commit 092b9a234522e403db69de50bb04c34b6f12c709)
18.1.8_2
17 Mar 2025 18:38:07
commit hash: 2d9bf097b05200709fc78bf41c1acf06effaae08commit hash: 2d9bf097b05200709fc78bf41c1acf06effaae08commit hash: 2d9bf097b05200709fc78bf41c1acf06effaae08commit hash: 2d9bf097b05200709fc78bf41c1acf06effaae08 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
devel/llvm18: Fix !CLANG plist

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

Reported by:	jrtc27
Sponsored by:	DARPA, AFRL

(cherry picked from commit 460b1965554d2e5b9d6adae27f050a99698a46a0)

Number of commits found: 2