]> git.proxmox.com Git - llvm-toolchain.git/commitdiff
sccache: continue if the server isn't started
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 19 Oct 2022 07:50:06 +0000 (09:50 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 19 Oct 2022 07:50:06 +0000 (09:50 +0200)
debian/rules

index dc70513d9d99e02a546a75c2f08102d3276314db..ad8cb5d2650029bcf13efa6c09fe265fef396ee2 100755 (executable)
@@ -555,7 +555,7 @@ override_dh_auto_configure: preconfigure
 #-    https://bit.ly/3kDNpC9
 ifeq (${SCCACHE_ENABLE},yes)
 # Just in case...
-       /opt/sccache/sccache --stop-server
+       /opt/sccache/sccache --stop-server||true
 # Start the sccache server with the right set of options to use GCP
        SCCACHE_LOG=sccache=debug SCCACHE_ERROR_LOG=/opt/sccache/sccache.log SCCACHE_GCS_KEY_PATH=/opt/sccache/secret-gcp-storage.json SCCACHE_GCS_BUCKET=apt-llvm-org-sccache SCCACHE_GCS_RW_MODE=READ_WRITE /opt/sccache/sccache --start-server
 endif