You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
504 B
21 lines
504 B
#!/bin/bash
|
|
# Uninstalls all LLVM tooling as much as possible
|
|
|
|
echo "Uninstalling LLVM"
|
|
|
|
apt-get remove -y --purge \
|
|
"llvm*" \
|
|
"lld*" \
|
|
"libc++*" \
|
|
"libunwind*" \
|
|
"clang*" \
|
|
|
|
apt-get autoremove -y
|
|
|
|
update-alternatives --remove-all clang-format
|
|
update-alternatives --remove-all clang
|
|
update-alternatives --remove-all clang++
|
|
update-alternatives --remove-all llvm-config
|
|
update-alternatives --remove-all llvm-objdump
|
|
update-alternatives --remove-all clang-tidy
|
|
update-alternatives --remove-all wasm-ld |