environment/recipes/llvm.yml
2025-08-01 12:52:57 +02:00

16 lines
413 B
YAML

repository:
url: https://github.com/llvm/llvm-project.git
branch: llvmorg-20.1.8
steps:
- mkdir build
- cd build
- cd build && cmake -G Ninja ../llvm |
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld" |
-DCMAKE_C_COMPILER=clang |
-DCMAKE_CXX_COMPILER=clang++ |
-DCMAKE_BUILD_TYPE=Release |
-DCMAKE_INSTALL_PREFIX=../install
- cd build && ninja
- cd build && ninja install