Port details |
- llvm-cheri LLVM and Clang with support for the CHERI architecture
- 17.0.d20250225_1 devel
=3 17.0.d20250225Version of this port present on the latest quarterly branch. - Maintainer: brooks@FreeBSD.org
 - Port Added: 2015-07-30 22:21:56
- Last Update: 2025-05-12 03:20:11
- Commit Hash: a19a052
- People watching this port, also watch:: virtualbox-ose-kmod, llvm11, llvm-devel, vlc, llvm
- Also Listed In: lang
- License: BSD3CLAUSE LLVM LLVM2 MIT PD REGEX
- WWW:
- https://cheri-cpu.org
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- llvm-cheri>0:devel/llvm-cheri
- To install the port:
- cd /usr/ports/devel/llvm-cheri/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/llvm-cheri
- pkg install llvm-cheri
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: llvm-cheri
- Flavors: there is no flavor information for this port.
- NOT_FOR_ARCHS: i386 armv6 armv7 powerpc mips
- distinfo:
- TIMESTAMP = 1740693924
SHA256 (CTSRD-CHERI-llvm-project-17.0.d20250225-2207b703e2bbfea3a20598d05c9de42996e120f3_GH0.tar.gz) = df13f9ad3260abfe34705a91793f6076f0240fa418abcb834d8659d50c34e435
SIZE (CTSRD-CHERI-llvm-project-17.0.d20250225-2207b703e2bbfea3a20598d05c9de42996e120f3_GH0.tar.gz) = 199957278
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:

- Slave ports:
-
- devel/llvm-morello
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-sphinx>=0,1 : textproc/py-sphinx@py311
- py311-recommonmark>=0.0.20180530 : textproc/py-recommonmark@py311
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- perl5>=5.36<5.37 : lang/perl5.36
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Libraries
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for llvm-cheri-17.0.d20250225_1:
CLANG=on: Build clang
DOCS=on: Build and/or install documentation
EXTRAS=on: Extra clang tools
LIT=on: Install lit and FileCheck test tools
LLD=on: Install lld linker
STATIC_LIBS=off: Install static libraries (does not effect sanitizers)
XTOOLCHAIN=on: Install cross toolchain file
===> Use 'make config' to modify these settings
- Options name:
- devel_llvm-cheri
- USES:
- cmake compiler:c++17-lang cpe shebangfix perl5 gnome python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.0.d20171203 07 Dec 2017 23:49:42
  |
brooks  |
Update llvm-cheri to a new snapshot.
The CHERI LLVM backend can now target both 128-bit and 256-bit (as well
as 64-bit and 512-bit if hardware existed) from a single binary so remove
devel/llvm-cheri128.
Sponsored by: DARPA, AFRL |
6.0.d20171113 16 Nov 2017 21:44:19
  |
brooks  |
Update to a new snapshot and apply the patch for posix_fallocate()
support being remove for ZFS
PR: 223383, 223440
Sponsored by: DARPA, AFRL |
5.0.d20171005 13 Oct 2017 01:25:39
  |
brooks  |
Update to a new snapshot.
Add CROSS_TOOLCHAIN files (currently requiring in-tree binutils). |
3.8.d20160808_3 10 Sep 2017 20:55:39
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275 |
3.8.d20160808_2 25 Jun 2017 21:07:58
  |
tcberner  |
Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while
building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748 |
3.8.d20160808_2 22 May 2017 17:39:26
  |
bdrewery  |
Fix build when LOCALBASE is not /usr/local.
Reviewed by: brooks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D10859 |
3.8.d20160808_2 17 Apr 2017 14:40:16
  |
miwi  |
- Fix Shebangs |
3.8.d20160808_1 15 Apr 2017 14:11:44
  |
linimon  |
Remove the misspelled ONLY_FOR_ARCH definitions, which referred to an
arch we no longer support in any case.
Approved by: portmgr (tier-2 blanket), "just fix it" |
3.8.d20160808_1 01 Apr 2017 15:23:32
  |
gerald  |
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707 |
3.8.d20160808 11 Nov 2016 19:34:36
  |
antoine  |
Fix build with gcc 4.9
PR: 196712 |
3.8.d20160808 21 Oct 2016 12:51:41
  |
mat  |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
3.8.d20160808 24 Aug 2016 18:13:38
  |
brooks  |
Update to a fresh snapshot. |
3.8.d20160512 23 May 2016 18:36:52
  |
amdmi3  |
Convert tab after WWW: in pkg-descrs to single space as per PHB
Approved by: portmgr blanket |
3.8.d20160512 12 May 2016 23:25:20
  |
brooks  |
Upgrade CHERI LLVM and Qemu ports to new snapshots supporting the
upcoming v5 ISA.
Sponsored by: DARPA, AFRL |
3.8.d20160423 24 Apr 2016 07:14:54
  |
brooks  |
Add a version of llvm-cheri for 128-bit CHERI capabilities.
No functional change to devel/llvm-cheri, just plist generalization.
Sponsored by: DARPA, AFRL |
3.8.d20160423 24 Apr 2016 05:50:41
  |
brooks  |
Update to an April 23rd snapshot. |
3.8.d20160303 21 Apr 2016 16:43:15
  |
swills  |
many ports: mark broken on powerpc64 |
3.8.d20160303 01 Apr 2016 14:00:57
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
3.8.d20160303 04 Mar 2016 14:16:00
  |
brooks  |
Update to a March 3rd snapshot.
Update the Makefile.snapshot generate script to fine the date of the most
recent change rather than using today's date. |
3.8.d20160216 23 Feb 2016 01:53:18
  |
brooks  |
Update to the latest snapshot. |
3.8.d20160125 26 Jan 2016 02:19:06
  |
brooks  |
Upgrade to a new snapshot and switch to a -cheri suffix similar to other
llvm ports.
PR: 206036 |
3.8.d20151209 10 Dec 2015 12:37:59
  |
brooks  |
Add file missed in previous commit.
Reviewed by: FreshPorts Sanity Daemon |
10 Dec 2015 11:37:44

|
brooks  |
Update to a new CHERI-LLVM/Clang snapshot. |
3.8.d20150730_1 17 Aug 2015 14:20:41
  |
mat  |
Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.
Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.
Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)
Reviewed by: antoine, bapt
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3336 |
3.8.d20150730_1 07 Aug 2015 23:44:34
  |
brooks  |
Disable LLDB when the chosen compiler is gcc.
On platforms where the system compiler isn't clang (including 9.x),
USES=compiler:c++11-lib uses gcc48 as the compiler. Unfortunatly, gcc48
does not provide a sufficently complient c++11 environment to build LLDB
when compiled on 9.x and possiably on other platforms. |
3.8.d20150730 30 Jul 2015 22:21:41
  |
brooks  |
Replace lang/clang-cheri with devel/llvm-cheri derived from devel/llvm-devel
and update to the latest versions in git.
Sponsored by: DARPA, AFRL |