From 44b57694d4524e78a13ab328a1f7c92df18edace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Tue, 16 Apr 2019 09:51:11 +0300 Subject: [PATCH] Enable ccache in CMake path so it can be used automatically where available This makes e.g. Gitlab-CI run 3x as fast as without. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 86c1ab4d8..0b4a4c1c3 100755 --- a/debian/rules +++ b/debian/rules @@ -69,7 +69,7 @@ override_dh_auto_configure: dh_testdir mkdir -p $(BUILDDIR) && cd $(BUILDDIR) && \ - sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/usr/local/bin:/usr/bin:/bin"} \ + sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin"} \ CC=${CC} \ CXX=${CXX} \ cmake -DCMAKE_INSTALL_PREFIX=/usr \ -- GitLab