git clone https://github.com/llvm/llvm-project.git
cd llvm-project
cmake -Sllvm -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$HOME/.local \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_FLAGS="-stdlib=libc++"
ninja -Cbuild install/strip
Last active
May 4, 2025 14:27
-
-
Save jhasse/b49a0b4a31d761e55c7b9eb6dc8bcd97 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment