Sign inSign up

t2fn/llvm-claude-abliterated

By t2fn

Updated 22 days ago

Clang/LLVM C/C++/OpenMP dev + 80+ tools, cross-compilers, optimized for parallel HPC development

Image
Machine learning & AI
Developer tools
0

131

t2fn/llvm-claude-abliterated repository overview

Docker Hub — llvm-claude-abliterated

Overview

A comprehensive C/C++/OpenMP development environment built on claude-abliterated. Provides 80+ tools spanning the Clang/LLVM family, OpenMP runtime, parallel libraries (acxxel, pstl), and full cross-compilation support for ARM, AArch64, MIPS, PPC, and RISC-V architectures.

Image Details

PropertyValue
Base imagedocker.io/t2fn/claude-abliterated:rocky10-amd64
Primary compilerClang 18+ (C, C++, OpenMP)
LinkerLLD (ld.lld)
DebuggerLLDB + GDB
Standard librarylibc++ (LLVM implementation)
OpenMP runtimelibomp (LLVM/OpenMP)
Parallel libsacxxel, pstl (Intel Parallel STL)
Build systemsCMake 3.30+, Ninja 1.12+, make
Static analysisclang-tidy, cppcheck
Memory debuggingValgrind + Sanitizers (ASan, TSan, UBSan, LSan, MSan)
Cross-compilationARM, AArch64, MIPS, MIPSEL, PPC, RISC-V

What's Installed

Compilers & Linkers
  • clang, clang++ — C/C++/OpenMP compiler
  • ld.lld, lld-link, wasm-ld — LLVM linker family
  • aarch64-linux-gnu-clang, arm-linux-gnueabihf-clang, mips-linux-gnu-clang, mipsel-linux-gnu-clang, powerpc-linux-gnu-clang, riscv64-linux-gnu-clang — cross-compilers
Debuggers
  • lldb — LLVM debugger (primary)
  • gdb — GNU debugger (alternative)
C++ Libraries
  • libc++, libc++abi — LLVM C++ standard library
  • libunwind — Stack unwinding library
  • libomp, openmp — OpenMP runtime and headers
  • libclc — OpenCL C standard library (for GPU offload)
Parallel Libraries
  • acxxel — Accelerated C++ parallel library
  • pstl — Intel Parallel STL algorithms
LLVM Infrastructure
  • opt, llc — Bitcode optimizer and code generator
  • FileCheck — Pattern-matching test tool
  • llvm-config, llvm-tblgen, clang-tblgen — Build config and table generation
  • not, bugpoint, sancov, sanstats — Utility tools
  • obj2yaml, yaml2obj, llvm-link, llvm-dis, llvm-as — Bitcode tools
Static Analysis & Formatting
  • clang-tidy — Comprehensive static analysis
  • clang-format — Source code formatter
  • cppcheck — Additional static analysis
  • valgrind — Memory debugging and profiling
Code Tools
  • clang-refactor — Refactoring engine
  • clang-rename, clang-change-namespace — Symbol renaming
  • clang-move — Move declarations between files
  • clang-query — AST query engine
  • clang-reorder-fields — Reorder struct/class fields
  • clang-include-fixer — Fix unused/missing includes
  • clang-apply-replacements — Apply tidy replacements
  • clang-scan-deps — Dependency scanner
  • modularize — Module dependency analyzer
  • pp-trace — Preprocessor trace tool
  • clang-doc — Generate HTML documentation
Testing & Analysis Tools
  • abitest — ABI compatibility testing
  • cindex — Python Clang indexing bindings
  • vtabletest — Virtual table layout testing
  • check_cfc — Clang frontend configuration checking
  • hmaptool — Hash map analysis for LLVM internals
  • perf-training — Performance training/benchmarking
  • clangvisualizers — LLDB debug visualizers
Build Systems & Utilities
  • cmake, ninja, make — Build systems
  • pkg-config — Library discovery
  • binutils: ar, as, ld, nm, objcopy, objdump, ranlib, readelf, size, strings, strip, addr2line
Cross-Compilation Support
  • Full cross-compilation toolchains for ARM, AArch64, MIPS, MIPSEL, PPC, RISC-V
  • Sysroots and development headers pre-installed
  • LLD linker configured for all cross-targets

Usage

# Cross-compile for ARM64 with OpenMP using podman
podman run --rm -v $(pwd):/workdir t2fn/llvm-claude-abliterated \
    bash -c "cd /workdir && aarch64-linux-gnu-clang++ -fopenmp -fuse-ld=lld -static -o app-arm main.cpp"

# Run clang-tidy on C++ files using podman
podman run --rm -v $(pwd):/workdir t2fn/llvm-claude-abliterated \
    bash -c "cd /workdir && clang-tidy --checks='*' *.cpp"

Environment Variables

VariablePurposeDefault
CCC compilerclang
CXXC++ compilerclang++
LDLinkerld.lld
OMP_NUM_THREADSOpenMP thread countHardware concurrency

Dockerfile Build Arguments

ArgumentPurposeDefault
CLANG_VERClang version18.1.3
LLVM_VERLLVM version18.1.3
OPENMP_VEROpenMP version18.1.3
CMAKE_VERCMake version3.30.0

Image Tags

  • latest — Most recent build
  • <CLANG_VER> — Specific Clang/LLVM version (e.g., 18.1.3)

Each language-specific container adds a focused toolchain and domain skills on top of claude-abliterated. They are all interchangeable -- use the one that matches your project, or combine them in the same workspace.

Tag summary

Content type

Image

Digest

sha256:83637e1cc

Size

4.8 GB

Last updated

22 days ago

docker pull t2fn/llvm-claude-abliterated