Last active
January 9, 2024 18:56
-
-
Save etaf/5f77158f1c45e90abfa3225f19f3c4bb to your computer and use it in GitHub Desktop.
llvm build and install and uninstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download: | |
git clone https://github.com/llvm/llvm-project.git | |
cd llvm-project/llvm | |
# Configure | |
mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release | |
# build: | |
cmake --build . -j $(nproc) | |
# install: | |
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/.local/ -P cmake_install.cmake | |
# uninstall | |
xargs rm -rf < install_manifest.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment