BSD Ports

lang/llvm 21.1.8nb1 NetBSD

Low Level Virtual Machine compiler infrastructure

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
a4856445ee
License
apache-2.0
Categories
lang, devel
Package size
98855.7 KiB, 615237.3 KiB installed

Description

Low Level Virtual Machine (LLVM) is:

A compilation strategy designed to enable effective program optimization across the entire lifetime of a program. LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time and offline (i.e., after software is installed), while remaining transparent to developers and maintaining compatibility with existing build scripts.

A virtual instruction set - LLVM is a low-level object code representation that uses simple RISC-like instructions, but provides rich, language-independent, type information and dataflow (SSA) information about operands. This combination enables sophisticated transformations on object code, while remaining light-weight enough to be attached to the executable. This combination is key to allowing link-time, run-time, and offline transformations.

A compiler infrastructure - LLVM is also a collection of source code that implements the language and compilation strategy. The primary components of the LLVM infrastructure are the C & C++ front-end, a link-time optimization framework with a growing set of global and interprocedural analyses and transformations, static back-ends for the X86, X86-64, PowerPC 32/64, ARM, Thumb, IA-64 and SPARC architectures, a back-end which emits portable C code, and a Just-In-Time compiler for X86, X86-64, PowerPC 32/64 processors.

In the other systems

SystemPortVersion
NetBSDlang/llvm21.1.8nb1
FreeBSDdevel/llvm19_1,1
DragonFlydevel/llvm19_1,1

Install

Binary package:

pkgin install llvm

From pkgsrc:

cd /usr/pkgsrc/lang/llvm && make install clean

Dependencies

Run dependencies 3

Commit history 6

DateCommitCreditsLog message
a4856445ee wiz *: recursive bump for llvm 22
4dcb0de05a adam llvm: update patches
a4dbec0b08 adam llvm: updated to 22.1.8
22.1.8 https://releases.llvm.org/22.1.0/docs/ReleaseNotes.html
e3b494912c tnn llvm,rust: backport fix for macOS 27 dyld __LINKEDIT alignment issue
dbebb8d938 tnn llvm: fix build with xcode 27
Apply commit a558d656043734cc4d02e0a0a12e4c308c28f8c7 from upstream. I won't pretend to understand modern C++ to the extent that I can adequately explain this change, but I guess it removes UB and does not change code behaviour.

The latest 5 of 6 in the history this site was built from.