BSD Ports

devel/llvm18 18.1.8_6 FreeBSD

LLVM and Clang

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e85cd16f10
License
BSD3CLAUSE, LLVM, LLVM2, MIT, PD, REGEX
Categories
devel, lang
Package size
261822.8 KiB, 1792073.1 KiB installed

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

SystemPortVersion
FreeBSDdevel/llvm1818.1.8_6
DragonFlydevel/llvm1818.1.8_2
MidnightBSDdevel/llvm1818.1.8_3

Install

Binary package:

pkg install llvm18

From the ports tree:

cd /usr/ports/devel/llvm18/ && make install clean

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

RUN_DEPENDS=	llvm18>0:devel/llvm18

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest18.1.8_518.1.8_5-18.1.8_218.1.8_5
FreeBSD:14:quarterly18.1.8_518.1.8_5n/a18.1.8_218.1.8_5
FreeBSD:15:latest18.1.8_518.1.8_5n/a18.1.8_218.1.8_2
FreeBSD:15:quarterly18.1.8_518.1.8_5n/an/an/a
FreeBSD:16:latest18.1.8_518.1.8_5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 74
Run dependencies 10

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
DOCSoffBuild and/or install documentation
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_MAJOR_MINOR:C/\.[0-9]$//} llvm${LLVM_MAJOR_MINOR:C/\.[0-9]$//}-lite
Flavors
llvm18-lite-18.1.8_6

Files

pkg-plist 6339
  • 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-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/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
  • bin/clang-reorder-fields

The first 100 are listed.

distinfo 1
FileSizeSHA256
llvm-project-18.1.8.src.tar.xz1.3206726e+080b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a
Master sites 1
  • https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/

Commit history 2

DateCommitCreditsLog message
e85cd16f10 Brooks Davis devel/llvm*: minor rework [NFC]
Consolidate all the _PATTERN variables in one location and define them unconditionally.
329a6e7664 Brooks Davis devel/llvm18: remove LLDB, assorted fixes
Users are almost certainly better off with a newere LLDB so remove the option to save build time. Fix build with libc++ from LLVM 21. (PR 296203) Fix plist issues. (PR 298493) PR: 296203, 298493 Sponsored by: DARPA, AFRL