From 29d98e966bc41c94adfcb1d538fb52d37635cd45 Mon Sep 17 00:00:00 2001 From: rokibhasansagar <10854164+rokibhasansagar@users.noreply.github.com> Date: Sun, 22 Aug 2021 11:57:30 +0600 Subject: [PATCH] Remove Clang/LLVM Completely Signed-off-by: rokibhasansagar <10854164+rokibhasansagar@users.noreply.github.com> --- cleanup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cleanup.sh b/cleanup.sh index 400b751..984264b 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -29,12 +29,14 @@ sudo -EH apt-fast -qq -y update &>/dev/null printf "This process will consume most of the cleanup time as APT Package Manager cleans Applications with Single Process.\nParallelism is Not Possible Here, So You Have To Wait For Some Time...\n" REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2) if [[ ${REL} == "focal" ]]; then - APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2-dev python2-minimal libpython-dev clang-9 clang-format-9 llvm-10-dev llvm-10-runtime llvm-10-tools llvm-10 lld-10 lld-9 libllvm10 libllvm9 libclang-common-10-dev libclang-cpp10 libclang1-10 clang-10 clang-format-10" + APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2-dev python2-minimal libpython-dev libllvm-* llvm-12-linker-tools" elif [[ ${REL} == "bionic" ]]; then - APT_Pac4Purge="python-dev" + APT_Pac4Purge="python-dev libllvm6.0" fi sudo -EH apt-fast -qq -y purge \ ${APT_Pac4Purge} \ + clang-* clang-format-* libclang-common-*-dev libclang-cpp* libclang1-* \ + liblldb-* lld-* lldb-* llvm-*-dev llvm-*-runtime llvm-*-tools llvm-* \ adoptopenjdk-* openjdk* ant* \ *-icon-theme plymouth *-theme* fonts-* gsfonts gtk-update-icon-cache \ google-cloud-sdk \