From 651702c2c122280ac0709c7e9876f9f89179953c Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 14 Jan 2022 09:04:52 +0100 Subject: [PATCH] setup: don't install ccache I don't think the PX4 setup script should decide whether a user is to use ccache or not. Anecdotally, I've heard from some in the dev team that they are not using it themselves, so I don't think there is a good basis to push it onto others. That being said, we can of course still use ccache as part of the CI builds nevertheless. --- Tools/setup/arch.sh | 1 - Tools/setup/ubuntu.sh | 7 ------- 2 files changed, 8 deletions(-) diff --git a/Tools/setup/arch.sh b/Tools/setup/arch.sh index b64040c8ff..83bc225d49 100755 --- a/Tools/setup/arch.sh +++ b/Tools/setup/arch.sh @@ -48,7 +48,6 @@ echo "Installing PX4 general dependencies" sudo pacman -Sy --noconfirm --needed \ astyle \ base-devel \ - ccache \ clang \ cmake \ cppcheck \ diff --git a/Tools/setup/ubuntu.sh b/Tools/setup/ubuntu.sh index 73a2bade38..852f38c94c 100755 --- a/Tools/setup/ubuntu.sh +++ b/Tools/setup/ubuntu.sh @@ -77,7 +77,6 @@ sudo apt-get update -y --quiet sudo DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends install \ astyle \ build-essential \ - ccache \ cmake \ cppcheck \ file \ @@ -101,12 +100,6 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y --quiet --no-install-recommends i zip \ ; -if [[ "${UBUNTU_RELEASE}" == "16.04" ]]; then - echo "Installing Ubuntu 16.04 PX4-compatible ccache version" - wget -O /tmp/ccache_3.4.1-1_amd64.deb http://launchpadlibrarian.net/356662933/ccache_3.4.1-1_amd64.deb - sudo dpkg -i /tmp/ccache_3.4.1-1_amd64.deb -fi - # Python3 dependencies echo echo "Installing PX4 Python3 dependencies"