BSD Ports

devel/llvm17 17.0.6_1 MidnightBSD

LLVM and Clang

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
${LICENSE:NARM}
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 17.0.6, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/llvm1717.0.6_1 newestno data-[email protected]-
FreeBSDdevel/llvm1717.0.6_13 newestnone known-[email protected]2026-10-20
DragonFlydevel/llvm1717.0.6_8 newestnone known-[email protected]-
HardenedBSDdevel/llvm1717.0.6_11 newestno data-[email protected]-
GhostBSDdevel/llvm1717.0.6_11 newestno data-[email protected]-

Install

Binary package:

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

From mports:

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

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

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

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

No port depends on this one.

Configuration

Options name: devel_llvm

OptionDefaultDescription
BE_AMDGPUonAMD GPU backend (required by mesa)
BE_FREEBSDoffBackends for FreeBSD architectures
BE_NATIVEoffBackend(s) for this architecture (${_NATIVE_BACKENDS})
BE_STANDARDoffAll non-experimental backends
BE_WASMonWebAssembly 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_RELEASE:C/\.[0-9]\.[0-9]$//} llvm${LLVM_RELEASE:C/\.[0-9]\.[0-9]$//}-lite

Files

pkg-plist 6512
  • 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-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-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/opt
  • 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-tblgen
  • bin/diagtool
  • bin/hmaptool
  • bin/intercept-build
  • bin/nvptx-arch
  • 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-cleaner
  • bin/clang-include-fixer
  • bin/clang-move
  • bin/clang-pseudo
  • bin/clang-query
  • bin/clang-rename

The first 100 are listed.

distinfo 5
FileSizeSHA256
llvm-project-17.0.6.src.tar.xz1.2783886e+0858a8818c60e6627064f312dbf46c02d9949956558340938b71cf731ad8bc0813
llvmorg-18-init-1760-g68744ffbdd7d.patch1491ad9ad1613491f69b010dbbd6a9d90d5dd505e46d9537a6e533f36dacd552d0f7
llvmorg-18-init-2919-g7549cde6bd52.patch17373c388e7c79949ba16f8587316cfb5ef7cd4c7e231941b3513e1950260a490e5f
llvmorg-18-init-15199-gb9935bb02a50.patch1893b0805cba765084c7bef426fa1235dd887c61ae0c1fd5e3fad5c8742cdd6ee8b0
llvmorg-18-init-15680-g966d564e43e6.patch12973abf92d4a788ff2f74fa9fc627a113f04d9fb72cd7e47344a8c4dce06140a163
Master sites 2
  • https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/
  • https://${DISTVERSION:C/.*rc.*/pre/:N*[0-9]*}releases.llvm.org/${DISTVERSION:C/rc.*//}${DISTVERSION:S/${DISTVERSION:C/rc.*//}//:C|(rc.*)|/\1|}/