Files
llvm-project/README.md
bramderaeve c86e331bd0
Some checks failed
Release Asset Audit / Release Asset Audit (push) Has been cancelled
Release Asset Audit / Notify Audit Failed (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Github Actions CodeQL / Github Actions CodeQL (push) Has been cancelled
Post-Commit Static Analyzer / post-commit-analyzer (push) Has been cancelled
Build and Test libc++ / stage1 (clang-23, frozen-cxx03-headers, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage1 (clang-23, generic-cxx03, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage1 (clang-23, generic-cxx26, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage1 (clang-23, generic-modules, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage1 (gcc-15, generic-gcc, g++-15) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-21, generic-cxx26, clang++-21) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-22, generic-cxx26, clang++-22) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-23, generic-cxx11, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-23, generic-cxx14, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-23, generic-cxx17, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-23, generic-cxx20, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage2 (clang-23, generic-cxx23, clang++-23) (push) Has been cancelled
Build and Test libc++ / stage2 (gcc-15, generic-gcc-cxx11, g++-15) (push) Has been cancelled
Build and Test libc++ / stage3 (bootstrapping-build) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-abi-unstable) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-asan) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-asan-in-tests-only) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-hardening-mode-debug) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-hardening-mode-extensive) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-hardening-mode-extensive-observe-semantic) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-hardening-mode-fast) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-hardening-mode-fast-with-abi-breaks) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-llvm-libc) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-merged) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-modules-cxx17-lsv) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-msan) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-exceptions) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-experimental) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-filesystem) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-localization) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-random_device) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-rtti) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-threads) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-tzdb) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-unicode) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-no-wide-characters) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-optimized-speed) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-static) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-tsan) (push) Has been cancelled
Build and Test libc++ / stage3 (generic-ubsan) (push) Has been cancelled
Build and Test libc++ / macos (apple-configuration, macos-26) (push) Has been cancelled
Build and Test libc++ / macos (apple-system, macos-26) (push) Has been cancelled
Build and Test libc++ / macos (apple-system-hardened, macos-26) (push) Has been cancelled
Build and Test libc++ / macos (generic-cxx03, macos-26) (push) Has been cancelled
Build and Test libc++ / macos (generic-cxx23, macos-26) (push) Has been cancelled
Build and Test libc++ / macos (generic-modules, macos-26) (push) Has been cancelled
Build and Test libc++ / windows (cc, mingw-dll, c++, true) (push) Has been cancelled
Build and Test libc++ / windows (cc, mingw-incomplete-sysroot, c++, true) (push) Has been cancelled
Build and Test libc++ / windows (cc, mingw-static, c++, true) (push) Has been cancelled
Build and Test libc++ / windows (cc, mingw-static, c++, true, windows-11-arm) (push) Has been cancelled
Build and Test libc++ / windows (clang-cl, clang-cl-debug, clang-cl, false) (push) Has been cancelled
Build and Test libc++ / windows (clang-cl, clang-cl-dll, clang-cl, false) (push) Has been cancelled
Build and Test libc++ / windows (clang-cl, clang-cl-no-vcruntime, clang-cl, false) (push) Has been cancelled
Build and Test libc++ / windows (clang-cl, clang-cl-static, clang-cl, false) (push) Has been cancelled
Build and Test libc++ / windows (clang-cl, clang-cl-static-crt, clang-cl, false) (push) Has been cancelled
Build and Test libc++ / windows (i686-w64-mingw32-clang, mingw-dll, i686-w64-mingw32-clang++, true) (push) Has been cancelled
try to build on windows
2026-05-01 15:40:45 +02:00

71 lines
2.9 KiB
Markdown

## Doomhowl Interactive - Cheatsheet
### Linux
```console
cmake -S llvm -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=$(pwd)/install \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_COMPILER=clang-21 \
-DCMAKE_CXX_COMPILER=clang++-21 \
-DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;lldb" \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;compiler-rt;libunwind" \
-DLLVM_USE_LINKER=mold
cmake --build build --parallel
cmake --build build --target install
```
### Windows
```cmd
cmake -S llvm -B build -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=%cd%\install -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra;lldb"
cmake --build build --parallel
cmake --build build --target install
```
# The LLVM Compiler Infrastructure
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/llvm/llvm-project/badge)](https://securityscorecards.dev/viewer/?uri=github.com/llvm/llvm-project)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8273/badge)](https://www.bestpractices.dev/projects/8273)
[![libc++](https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml/badge.svg?branch=main&event=schedule)](https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml?query=event%3Aschedule)
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the
construction of highly optimized compilers, optimizers, and run-time
environments.
The LLVM project has multiple components. The core of the project is
itself called "LLVM". This contains all of the tools, libraries, and header
files needed to process intermediate representations and convert them into
object files. Tools include an assembler, disassembler, bitcode analyzer, and
bitcode optimizer.
C-like languages use the [Clang](https://clang.llvm.org/) frontend. This
component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode
-- and from there into object files, using LLVM.
Other components include:
the [libc++ C++ standard library](https://libcxx.llvm.org),
the [LLD linker](https://lld.llvm.org), and more.
## Getting the Source Code and Building LLVM
Consult the
[Getting Started with LLVM](https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm)
page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at
the [Contributing to LLVM](https://llvm.org/docs/Contributing.html) guide.
## Getting in touch
Join the [LLVM Discourse forums](https://discourse.llvm.org/), [Discord
chat](https://discord.gg/xS7Z362),
[LLVM Office Hours](https://llvm.org/docs/GettingInvolved.html#office-hours) or
[Regular sync-ups](https://llvm.org/docs/GettingInvolved.html#online-sync-ups).
The LLVM project has adopted a [code of conduct](https://llvm.org/docs/CodeOfConduct.html) for
participants to all modes of communication within the project.