From 3a14e9f45e84145d2a7bb5903fcd2e4ccead9628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20L=C3=BCke?= Date: Tue, 19 May 2020 13:27:29 +0200 Subject: [PATCH] profiles: Disable ccache The unzip update in the portage-stable branch going along with this PR suddenly fails to compile because ccache permissions are wrong in one subfolder. Disable ccache because it only gives a low hit rate anyway and once a package is compiled, emerge will reuse the binary package. (A possible compilation performance regression would be if a kernel patch is tested and the kernel package needs to be build over and over again without being able to keep the object files - not sure if this or something similar is often the case.) --- .../coreos-overlay/profiles/coreos/base/make.defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults index 1efedc7891..c658f142ee 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/make.defaults @@ -90,7 +90,7 @@ CCACHE_DIR="/var/tmp/ccache" # Always build binary packages, remove old build logs, avoid running as root. FEATURES="buildpkg clean-logs compressdebug parallel-install splitdebug userfetch userpriv usersandbox ipc-sandbox network-sandbox - ccache -merge-sync" + -ccache -merge-sync" # No need to restrict access to build directories in dev environments. PORTAGE_WORKDIR_MODE="0755"