diff --git a/.gitignore b/.gitignore index 9d4e86ab10ca..ff8da185a9ee 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ # as most of those are useless. #==============================================================================# +install + #==============================================================================# # File extensions to be ignored anywhere in the tree. #==============================================================================# diff --git a/README.md b/README.md index a9b29ecbc1a3..cb101670f0aa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ +## Doomhowl Interactive - Cheatsheet + +```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 +``` + # 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)