BSD Ports

devel/llvm-cheri 17.0.d20261006 FreeBSD

LLVM and Clang with support for the CHERI architecture

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e85cd16f10
License
BSD3CLAUSE, LLVM, LLVM2, MIT, PD, REGEX
Categories
devel, lang
Package size
139394.2 KiB, 870005.8 KiB installed

Description

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This version adds support for CHERI on RISC-V and MIPS64.

This port includes Clang (a C/C++/Objective-C compiler), LLD (a linker), and the LLVM infrastructure these are built on.

In the other systems

SystemPortVersion
FreeBSDdevel/llvm-cheri17.0.d20261006
GhostBSDdevel/llvm-cheri17.0.d20260706

Install

Binary package:

pkg install llvm-cheri

From the ports tree:

cd /usr/ports/devel/llvm-cheri/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	llvm-cheri>0:devel/llvm-cheri

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest17.0.d2026070617.0.d20261006---
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest17.0.d2026100617.0.d20261006n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-17.0.d20261006n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 66

No port depends on this one.

Configuration

Options name: devel_llvm

OptionDefaultDescription
CLANGonBuild clang
DOCSoffBuild and/or install documentation
EXTRASonExtra clang tools
LITonInstall lit and FileCheck test tools
LLDonInstall lld linker
STATIC_LIBSonInstall static libraries (does not effect sanitizers)
XTOOLCHAINonInstall cross toolchain file
USES
cmake compiler:c++17-lang cpe shebangfix ${_USES_PYTHON}
Service scripts
none

Files

pkg-plist 3810
  • bin/amdgpu-arch
  • bin/bugpoint
  • bin/dsymutil
  • bin/llc
  • bin/lli
  • bin/llvm-addr2line
  • bin/llvm-ar
  • bin/llvm-as
  • bin/llvm-bcanalyzer
  • bin/llvm-bitcode-strip
  • bin/llvm-cat
  • bin/llvm-cfi-verify
  • bin/llvm-config
  • bin/llvm-cov
  • bin/llvm-cvtres
  • bin/llvm-cxxdump
  • bin/llvm-cxxfilt
  • bin/llvm-cxxmap
  • bin/llvm-debuginfo-analyzer
  • bin/llvm-debuginfod
  • bin/llvm-debuginfod-find
  • bin/llvm-diff
  • bin/llvm-dis
  • bin/llvm-dlltool
  • bin/llvm-dwarfdump
  • bin/llvm-dwarfutil
  • bin/llvm-dwp
  • bin/llvm-exegesis
  • bin/llvm-extract
  • bin/llvm-gsymutil
  • bin/llvm-ifs
  • bin/llvm-install-name-tool
  • bin/llvm-jitlink
  • bin/llvm-libtool-darwin
  • bin/llvm-link
  • bin/llvm-lipo
  • bin/llvm-mc
  • bin/llvm-mca
  • bin/llvm-ml
  • bin/llvm-modextract
  • bin/llvm-mt
  • bin/llvm-nm
  • bin/llvm-objcopy
  • bin/llvm-objdump
  • bin/llvm-opt-report
  • bin/llvm-otool
  • bin/llvm-pdbutil
  • bin/llvm-profdata
  • bin/llvm-profgen
  • bin/llvm-ranlib
  • bin/llvm-rc
  • bin/llvm-readelf
  • bin/llvm-readobj
  • bin/llvm-reduce
  • bin/llvm-remark-size-diff
  • bin/llvm-remarkutil
  • bin/llvm-rtdyld
  • bin/llvm-sim
  • bin/llvm-size
  • bin/llvm-split
  • bin/llvm-stress
  • bin/llvm-strings
  • bin/llvm-strip
  • bin/llvm-symbolizer
  • bin/llvm-tapi-diff
  • bin/llvm-tblgen
  • bin/llvm-tli-checker
  • bin/llvm-undname
  • bin/llvm-windres
  • bin/llvm-xray
  • bin/nvptx-arch
  • bin/opt
  • bin/sancov
  • bin/analyze-build
  • bin/c-index-test
  • bin/clang
  • bin/clang++
  • bin/clang-check
  • bin/clang-cpp
  • bin/clang-extdef-mapping
  • bin/clang-format
  • bin/clang-include-cleaner
  • bin/clang-linker-wrapper
  • bin/clang-offload-bundler
  • bin/clang-offload-packager
  • bin/clang-rename
  • bin/clang-repl
  • bin/clang-scan-deps
  • bin/clang-tblgen
  • bin/diagtool
  • bin/hmaptool
  • bin/intercept-build
  • bin/scan-build
  • bin/scan-build-py
  • bin/scan-view
  • bin/clangd
  • bin/clang-apply-replacements
  • bin/clang-change-namespace
  • bin/clang-doc
  • bin/clang-include-fixer

The first 100 are listed.

distinfo 1
FileSizeSHA256
CTSRD-CHERI-llvm-project-17.0.d20261006-31aed23da62bee49f33af4c208d0b94637c5f63b_GH0.tar.gz2.00008472e+08efb38d14d0107f93778f0108491411cbf371d8d99787e5133146223fcac2cd55

Commit history 4

DateCommitCreditsLog message
e85cd16f10 Brooks Davis devel/llvm*: minor rework [NFC]
Consolidate all the _PATTERN variables in one location and define them unconditionally.
9f3c49ad55 Brooks Davis devel/llvm-{cheri,morello}: new snapshots
09efb97f96 Brooks Davis devel/llvm-{cheri,morello}: drop non-working llvm21 workaround
8247b52ba4 Brooks Davis devel/llvm-{cheri,morello}: new snapshots
Update CHERI and Morello LLVM compilers to new snapshots. Attempt to fix builds with LLVM 21 by conditionally applying the patch used with devel/llvm17. I'm not applying it universally as llvm-morello fails to compile with it on my 14.4-RELEASE test system. Sponsored by: DARPA, AFRL