BSD Ports

lang/clang 21.1.8nb1 NetBSD

C language family frontend for LLVM

System
NetBSD
Repository
pkgsrc
Last update
Commit
1d1b0786e7
License
apache-2.0
Categories
lang, devel
Package size
54372.4 KiB, 375573.1 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.

Install

Binary package:

pkgin install clang

From pkgsrc:

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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6421.1.8nb1
NetBSD 10.1 aarch6421.1.8
SmartOS / illumos x86_6422.1.8nb2
macOS 15 arm6422.1.8nb2

Dependencies

Run dependencies 4

Commit history 4

DateCommitCreditsLog message
1d1b0786e7 kikadf clang: install python bindings
a4856445ee wiz *: recursive bump for llvm 22
a4dbec0b08 adam llvm: updated to 22.1.8
22.1.8 https://releases.llvm.org/22.1.0/docs/ReleaseNotes.html
cfd75a6ecc wiz clang: https://reviews.llvm.org/D70048 was never merged for lld
nor was it added to the pkgsrc package; so nb.lld doesn't exist. Fixes `-fuse-ld=<name>`. From ci4ic4 via wip. Bump PKGREVISION.