BSD Ports

devel/llvm12 12.0.1_3 MidnightBSD

LLVM and Clang

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
a05b377b53
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 12.0.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/llvm1212.0.1_3 newestno data-[email protected]2026-09-06
FreeBSDdevel/llvm1212.0.1_16 newestnone known-[email protected]2026-10-20
DragonFlydevel/llvm1212.0.1_13 newestnone known-[email protected]-
HardenedBSDdevel/llvm1212.0.1_16 newestno data-[email protected]-
GhostBSDdevel/llvm1212.0.1_16 newestno data-[email protected]-

Install

Binary package:

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

From mports:

cd /usr/mports/devel/llvm12 && 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/llvm12

Dependencies

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_STANDARDonAll non-experimental backends
BE_WASMonWebAssembly backend (required by firefox via wasi)
CLANGonBuild clang
DOCSoff
EXTRASonExtra clang tools
LITonInstall lit and FileCheck test tools
LLDonInstall lld, the LLVM linker
PYCLANGonInstall python bindings to libclang
USES
cmake compiler:c++11-lib cpe perl5 tar:xz shebangfix ${_USES_PYTHON}
Service scripts
none

Files

pkg-plist 3794
  • 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-diff
  • bin/llvm-dis
  • bin/llvm-dlltool
  • bin/llvm-dwarfdump
  • bin/llvm-dwp
  • bin/llvm-elfabi
  • 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-pdbutil
  • bin/llvm-profdata
  • bin/llvm-profgen
  • bin/llvm-ranlib
  • bin/llvm-rc
  • bin/llvm-readelf
  • bin/llvm-readobj
  • bin/llvm-reduce
  • bin/llvm-rtdyld
  • bin/llvm-size
  • bin/llvm-split
  • bin/llvm-stress
  • bin/llvm-strings
  • bin/llvm-strip
  • bin/llvm-symbolizer
  • bin/llvm-tblgen
  • bin/llvm-undname
  • bin/llvm-xray
  • bin/opt
  • bin/sancov
  • bin/split-file
  • bin/c-index-test
  • bin/clang
  • bin/clang++
  • bin/clang-check
  • bin/clang-cpp
  • bin/clang-extdef-mapping
  • bin/clang-format
  • bin/clang-offload-bundler
  • bin/clang-offload-wrapper
  • bin/clang-rename
  • bin/clang-scan-deps
  • bin/diagtool
  • bin/hmaptool
  • bin/scan-build
  • bin/scan-view
  • bin/clangd
  • bin/clang-apply-replacements
  • bin/clang-change-namespace
  • bin/clang-doc
  • bin/clang-include-fixer
  • bin/clang-move
  • bin/clang-query
  • bin/clang-reorder-fields
  • bin/clang-tidy
  • bin/find-all-symbols
  • bin/modularize
  • bin/pp-trace
  • bin/ld.lld
  • bin/ld64.lld
  • bin/ld64.lld.darwinnew
  • bin/lld
  • bin/lld-link
  • bin/wasm-ld
  • bin/lldb
  • bin/lldb-argdumper
  • bin/lldb-instr
  • bin/lldb-vscode
  • bin/FileCheck
  • llvm%%LLVM_SUFFIX%%/bin/FileCheck
  • bin/lit

The first 100 are listed.

distinfo 1
FileSizeSHA256
llvm-project-12.0.1.src.tar.xz9.0910004e+07129cb25cd13677aad951ce5c2deb0fe4afc1e9d98950f53b51bdcfb5a73afa0e
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/|}

Commit history 1

DateCommitCreditsLog message
a05b377b53 Lucas Holt *: bump PORTREVISION for the textproc/libxml2 2.15 shared library change (#848)
`textproc/libxml2` 2.15 changed SONAME from `libxml2.so.2` to `libxml2.so.16` **and** removed ELF symbol versioning entirely — the new library defines no `LIBXML2_*` versions at all. Consumers built against the old library were never rebuilt, so they still record a dependency on `libxml2.so.2` plus version requirements nothing can satisfy, and fail at load time: ``` ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/lib/libevdocument3.so.4 not defined ``` ### Scope `Tools/scripts/bump_revision.pl -f -l textproc/libxml2` — **436 Makefiles**: 323 revisions incremented, 113 gained a `PORTREVISION` line. The diff touches nothing but `PORTREVISION` lines (verified: `git diff -U0` shows no other changed line), and spot-checked ports still …