Apocrypha

clang

C language family frontend for LLVM

The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler. Features and Goals Some of the goals for the project include the following: End-User Features: Fast compiles and low memory use Expressive diagnostics GCC compatibility Utility and Applications: Modular library based architecture Support diverse clients (refactoring, static analysis, code generation, etc) Allow tight integration with IDEs Use the LLVM BSD License Internal Design and Implementation: A real-world, production quality compiler A simple and hackable code base A single unified parser for C, Objective C, C++, and Objective C++ Conformance with C/C++/ObjC and their variants

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 24.0.0_pre20260725 13 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvarmarm64-macosloongmipsppcsparcx64-macos Committed
24.0.0.9999 LIVE gentoo follows upstream — no keywords view · download · history ↗
24.0.0_pre20260725 gentoo amd64 untested arm64 untested x86 untested ppc64 untested riscv untested arm untested arm64-macos untested loong untested mips untested ppc untested sparc untested x64-macos untested view · download · history ↗
24.0.0_pre20260716 gentoo amd64 untested arm64 untested x86 untested ppc64 untested riscv untested arm untested arm64-macos untested loong untested mips untested ppc untested sparc untested x64-macos untested view · download · history ↗
23.1.0.9999 LIVE gentoo follows upstream — no keywords view · download · history ↗
23.1.0_pre20260724 gentoo amd64 untested arm64 untested x86 untested ppc64 untested riscv untested arm untested arm64-macos untested loong untested mips untested ppc untested sparc untested x64-macos untested view · download · history ↗
23.0.0_pre20260716 gentoo amd64 untested arm64 untested x86 untested ppc64 untested riscv untested arm untested arm64-macos untested loong untested mips untested ppc untested sparc untested x64-macos untested view · download · history ↗
23.0.0_pre20260707 gentoo amd64 untested arm64 untested x86 untested ppc64 untested riscv untested arm untested arm64-macos untested loong untested mips untested ppc untested sparc untested x64-macos untested view · download · history ↗
22.1.8 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips testing ppc stable sparc testing x64-macos testing view · download · history ↗
21.1.8 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips testing ppc stable sparc testing x64-macos testing view · download · history ↗
20.1.8 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips testing ppc stable sparc testing x64-macos testing view · download · history ↗
19.1.7-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips testing ppc stable sparc testing x64-macos testing view · download · history ↗
18.1.8-r7 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips testing ppc stable sparc testing x64-macos testing view · download · history ↗
17.0.6-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing arm stable arm64-macos testing loong testing mips untested ppc stable sparc testing x64-macos testing view · download · history ↗

Use flags of 24.0.0_pre20260725

  • +debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • +extra Build extra tools (clangd, clang-tidy and a few more)
  • ieee-long-double Use accelerated 128-bit IEEE long double ABI (ppc64le only)
  • +pie Build programs as Position Independent Executables (a security hardening technique)
  • +static-analyzer Install the Clang static analyzer
  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • xml Add support for XML files
  • llvm_targets_AArch64
  • llvm_targets_AMDGPU
  • llvm_targets_ARM
  • llvm_targets_AVR
  • llvm_targets_BPF
  • llvm_targets_Hexagon
  • llvm_targets_Lanai
  • llvm_targets_LoongArch
  • llvm_targets_Mips
  • llvm_targets_MSP430
  • llvm_targets_NVPTX
  • llvm_targets_PowerPC
  • llvm_targets_RISCV
  • llvm_targets_Sparc
  • llvm_targets_SPIRV
  • llvm_targets_SystemZ
  • llvm_targets_VE
  • llvm_targets_WebAssembly
  • llvm_targets_X86
  • llvm_targets_XCore
  • llvm_targets_ARC
  • llvm_targets_CSKY
  • llvm_targets_DirectX
  • llvm_targets_M68k
  • llvm_targets_Xtensa
11 expansion flags (python targets, ABIs, cpu flags…)
  • abi_x86_32
  • abi_x86_64
  • abi_x86_x32
  • abi_mips_n32
  • abi_mips_n64
  • abi_mips_o32
  • abi_s390_32
  • abi_s390_64
  • python_single_target_python3_12
  • python_single_target_python3_13
  • python_single_target_python3_14

Runtime dependencies of 24.0.0_pre20260725

show 92 lines
python_single_target_python3_12? (
)
python_single_target_python3_13? (
)
python_single_target_python3_14? (
)
static-analyzer? (
)
xml? (
)
llvm_targets_AArch64? (
)
llvm_targets_AMDGPU? (
)
llvm_targets_ARM? (
)
llvm_targets_AVR? (
)
llvm_targets_BPF? (
)
llvm_targets_Hexagon? (
)
llvm_targets_Lanai? (
)
llvm_targets_LoongArch? (
)
llvm_targets_Mips? (
)
llvm_targets_MSP430? (
)
llvm_targets_NVPTX? (
)
llvm_targets_PowerPC? (
)
llvm_targets_RISCV? (
)
llvm_targets_Sparc? (
)
llvm_targets_SPIRV? (
)
llvm_targets_SystemZ? (
)
llvm_targets_VE? (
)
llvm_targets_WebAssembly? (
)
llvm_targets_X86? (
)
llvm_targets_XCore? (
)
llvm_targets_ARC? (
)
llvm_targets_CSKY? (
)
llvm_targets_DirectX? (
)
llvm_targets_M68k? (
)
llvm_targets_Xtensa? (
)