More Clang/LLVM removal

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
This commit is contained in:
rokibhasansagar 2021-03-25 17:55:36 +06:00
parent 55d5002c38
commit 2c05f25da4
No known key found for this signature in database
GPG key ID: 2A43163956D6C2A7

View file

@ -28,16 +28,16 @@ echo "::group::Uninstalling Unnecessary Applications"
sudo -EH apt-get -qq -y update &>/dev/null sudo -EH apt-get -qq -y update &>/dev/null
REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2) REL=$(grep "UBUNTU_CODENAME" /etc/os-release | cut -d'=' -f2)
if [[ ${REL} == "focal" ]]; then if [[ ${REL} == "focal" ]]; then
APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2 python2-minimal libpython-dev clang-9 clang-format-9" APT_Pac4Purge="alsa-topology-conf alsa-ucm-conf python2 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"
elif [[ ${REL} == "bionic" ]]; then elif [[ ${REL} == "bionic" ]]; then
APT_Pac4Purge="clang-6.0 clang-format-6.0 llvm-6.0-dev lld-6.0" APT_Pac4Purge="clang-6.0 clang-format-6.0 libclang-common-6.0-dev libclang1-6.0 liblldb-6.0 libllvm6.0 llvm-6.0-dev lld-6.0"
fi fi
unset REL unset REL
sudo -EH apt-get -qq -y purge \ sudo -EH apt-get -qq -y purge \
${APT_Pac4Purge} \ ${APT_Pac4Purge} \
adoptopenjdk-* openjdk* ant* \ adoptopenjdk-* openjdk* ant* \
*-icon-theme plymouth *-theme* fonts-* gsfonts gtk-update-icon-cache \ *-icon-theme plymouth *-theme* fonts-* gsfonts gtk-update-icon-cache \
ansible google-cloud-sdk heroku \ google-cloud-sdk heroku \
apache2* nginx msodbcsql* mssql-tools mysql* libmysqlclient* unixodbc-dev postgresql* libpq-dev odbcinst* mongodb-* sphinxsearch \ apache2* nginx msodbcsql* mssql-tools mysql* libmysqlclient* unixodbc-dev postgresql* libpq-dev odbcinst* mongodb-* sphinxsearch \
apport* popularity-contest \ apport* popularity-contest \
aspnetcore-* dotnet* \ aspnetcore-* dotnet* \
@ -46,12 +46,12 @@ sudo -EH apt-get -qq -y purge \
brltty byobu htop \ brltty byobu htop \
buildah hhvm kubectl packagekit* podman podman-plugins skopeo \ buildah hhvm kubectl packagekit* podman podman-plugins skopeo \
chromium-browser firebird* firefox google-chrome* xvfb \ chromium-browser firebird* firefox google-chrome* xvfb \
clang-8 clang-format-8 cpp-7 cpp-8 lld-8 llvm-8* \ clang-8 clang-format-8 libclang-common-8-dev libclang1-8 cpp-7 cpp-8 lld-8 llvm-8* libllvm8 liblldb-8 \
esl-erlang ghc-* groff-base rake r-base* r-cran-* r-recommended ruby* swig* \ esl-erlang ghc-* groff-base rake r-base* r-cran-* r-recommended ruby* swig* \
g++-7* gcc-7* g++-8* gcc-8* gfortran* \ g++-7* gcc-7* g++-8* gcc-8* gfortran* \
gh subversion mercurial mercurial-common \ gh subversion mercurial mercurial-common \
info install-info landscape-common \ info install-info landscape-common \
libpython2* imagemagick* vim vim-* \ libpython2* imagemagick* libmagic* vim vim-* \
man-db manpages \ man-db manpages \
mono-* mono* libmono-* \ mono-* mono* libmono-* \
nuget packages-microsoft-prod snapd yarn \ nuget packages-microsoft-prod snapd yarn \