devel/llvm22 22.1.8_1 MidnightBSD
LLVM and Clang
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
a05b377b53- 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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/llvm22 | 22.1.8_1 |
| FreeBSD | devel/llvm22 | 22.1.8_1 |
| HardenedBSD | devel/llvm22 | 22.1.8_1 |
| GhostBSD | devel/llvm22 | 22.1.8_1 |
Install
Binary package:
mport install llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}
From mports:
cd /usr/mports/devel/llvm22 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}>0:devel/llvm22
Dependencies
As this port's Makefile names them.
Library 1
libzstd.so: archivers/zstd
Build dependencies 1
Run dependencies 1
Configuration
Options name: devel_llvm
| Option | Default | Description |
|---|---|---|
| BE_AMDGPU | off | AMD GPU backend (required by mesa) |
| BE_FREEBSD | off | Backends for FreeBSD architectures |
| BE_NATIVE | off | Backend(s) for this architecture (${_NATIVE_BACKENDS}) |
| BE_STANDARD | off | All non-experimental backends |
| BE_WASM | off | WebAssembly backend (required by firefox via wasi) |
| CLANG | on | Build clang |
| COMPILER_RT | off | Sanitizer libraries |
| DOCS | off | |
| LLD | on | Install lld, the LLVM linker |
| STATIC_LIBS | off | Install 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 8351
- 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-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-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-sycl-linker
- bin/clang-tblgen
- bin/diagtool
- bin/hmaptool
- bin/intercept-build
- bin/nvptx-arch
- bin/offload-arch
- bin/scan-build
- bin/scan-build-py
- bin/scan-view
- bin/clangd
- bin/clang-apply-replacements
- bin/clang-change-namespace
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| llvm-project-22.1.8.src.tar.xz | 1.67061596e+08 | 922f1817a0df7b1489272d18134ee0087a8b068828f87ac63b9861b1a9965888 |
Master sites 1
- https://github.com/llvm/llvm-project/releases/download/llvmorg-22.1.8/
Commit history 2
| Date | Commit | Credits | Log 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
… |
|
058df1f131 |
Lucas Holt | devel/llvm22: add LLVM 22 (#733) Import LLVM 22.1.8 and adapt the compiler runtimes, target handling, and
patches for MidnightBSD.
AI-Assisted-by: OpenAI Codex <[email protected]>
## Summary by Sourcery
Add a new llvm22 port providing LLVM 22.1.8 and Clang toolchain for
MidnightBSD, and register it in the ports framework.
New Features:
- Introduce devel/llvm22 port packaging LLVM 22.1.8 with Clang, LLD,
LLDB, MLIR, OpenMP, Flang, and related tools and runtimes, with default
and lite flavors.
- Support MidnightBSD-specific triples, ELF OSABI handling, system
detection, and preprocessor macros across LLVM, Clang, compiler-rt, and
LLDB so the toolchain recognizes MidnightBSD as a FreeBSD-family OS.
Bug Fixes:
- Work around platform-specific issues in compiler-rt floating-point
… |