BSD Ports

devel/llvm23 23.1.5 MidnightBSD

LLVM and Clang

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
d7c6d2b9e4
License
bsd3, LLVM, LLVM2, mit, publicdom, REGEX
Categories
devel, lang

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.

In the other systems

The newest version among them is 23.1.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/llvm2323.1.5 newestno data-[email protected]2026-11-05
FreeBSDdevel/llvm2323.1.5 newestnone known-[email protected]2026-11-04
DragonFlydevel/llvm2323.1.2 behind since 2026-10-07none known-[email protected]-
HardenedBSDdevel/llvm2323.1.4 behind since 2026-11-04no data-[email protected]-

Version history 1

  1. 23.1.5 d7c6d2b9e4

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}

From mports:

cd /usr/mports/devel/llvm23 && make install clean

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

RUN_DEPENDS=	llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}>0:devel/llvm23

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Library 1

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

Options name: devel_llvm

OptionDefaultDescription
BE_AMDGPUoffAMD GPU backend (required by mesa)
BE_FREEBSDoffBackends for FreeBSD architectures
BE_NATIVEoffBackend(s) for this architecture (${_NATIVE_BACKENDS})
BE_STANDARDoffAll non-experimental backends
BE_WASMoffWebAssembly backend (required by firefox via wasi)
CLANGonBuild clang
COMPILER_RToffSanitizer libraries
DOCSoff
LLDonInstall lld, the LLVM linker
STATIC_LIBSoffInstall static libraries (does not effect sanitizers)
USES
cmake compiler:c++17-lang cpe tar:xz shebangfix ${_USES_PYTHON}
Service scripts
none
Conflicts with
llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//} llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}-lite

Files

pkg-plist 8711
  • bin/dsymutil
  • bin/llc
  • bin/lli
  • bin/llubi
  • bin/llvm-addr2line
  • bin/llvm-ar
  • bin/llvm-as
  • bin/llvm-bcanalyzer
  • bin/llvm-bitcode-strip
  • bin/llvm-cas
  • bin/llvm-cat
  • bin/llvm-cfi-verify
  • bin/llvm-cgdata
  • bin/llvm-config
  • bin/llvm-cov
  • bin/llvm-ctxprof-util
  • bin/llvm-cvtres
  • 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-extract-bundle-entry
  • bin/llvm-gpu-loader
  • 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-ml
  • bin/llvm-ml64
  • bin/llvm-modextract
  • bin/llvm-nm
  • bin/llvm-objcopy
  • bin/llvm-objdump
  • bin/llvm-offload-binary
  • bin/llvm-offload-wrapper
  • 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-readtapi
  • bin/llvm-reduce
  • 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-tblgen
  • bin/llvm-tli-checker
  • bin/llvm-undname
  • bin/llvm-windres
  • bin/llvm-xray
  • bin/opt
  • bin/reduce-chunk-list
  • bin/sancov
  • bin/amdgpu-arch
  • 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-linker-wrapper
  • bin/clang-offload-bundler
  • bin/clang-offload-packager
  • bin/clang-repl
  • bin/clang-scan-deps
  • bin/clang-ssaf-analyzer
  • bin/clang-ssaf-format
  • bin/clang-ssaf-linker
  • bin/clang-sycl-linker
  • bin/clang-tblgen
  • bin/diagtool
  • bin/hmaptool
  • bin/intercept-build
  • bin/nvptx-arch
  • bin/offload-arch
  • bin/scan-build

The first 100 are listed.

distinfo 1
FileSizeSHA256
llvm-project-23.1.5.src.tar.xz1.79220264e+08fb50b1eac93ddeb3aa8dab4cfe324dff74f4a9c2bdee6160c9e36188f8d06a6e
Master sites 1
  • https://github.com/llvm/llvm-project/releases/download/llvmorg-23.1.5/

Commit history 1

DateCommitCreditsLog message
d7c6d2b9e4 Lucas Holt devel/llvm23: add LLVM 23.1.5 (#2283)
Adds LLVM 23.1.5 from FreeBSD as `devel/llvm23`, with MidnightBSD platform detection, compiler-rt support, LLDB Python loading, staging paths, and versioned lit packaging adapted for mports. Full build, strict fake checks, and package creation pass. Native C/C++20, LLD, static ASan, LLDB Python, and breakpoint/backtrace/continue checks pass. Portlint reports no fatal errors. Sets `NO_TEST=yes` as requested while remaining compatibility failures are tracked in #2282. The full unfiltered run completed with 172,344 passes, 190 failures, 13 unresolved tests, and one unexpected pass. Most failures involve LLDB expressions; smaller groups affect sanitizers, OpenMP, libFuzzer, and test-environment assumptions. The shared-ASan …