From e979736893714e20a1eff7799326e0622caab6d9 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 8 Apr 2020 12:02:43 -0400 Subject: [PATCH] Update gitlab-ci to use a version of sccache that supports CUDA --- .gitlab-ci.yml | 2 +- .gitlab/ci/config/sccache.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d83e1578f..a833f9d4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,7 +101,7 @@ stages: before_script: - .gitlab/ci/config/sccache.sh - export PATH=$PWD/.gitlab:$PATH - - SCCACHE_IDLE_TIMEOUT=1200 sccache --start-server + - SCCACHE_IDLE_TIMEOUT=0 sccache --start-server - sccache --show-stats - "cmake --version" - "cmake -V -P .gitlab/ci/config/gitlab_ci_setup.cmake" diff --git a/.gitlab/ci/config/sccache.sh b/.gitlab/ci/config/sccache.sh index c88cdcc5e..f05b8e62d 100755 --- a/.gitlab/ci/config/sccache.sh +++ b/.gitlab/ci/config/sccache.sh @@ -2,15 +2,15 @@ set -e -readonly version="0.2.12" -readonly sha256sum="26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f" -readonly filename="sccache-$version-x86_64-unknown-linux-musl" +readonly version="nvcc_v3" +readonly sha256sum="d5b56dd9e7d4597f4a47a90d6327e30a259151b59b897607e1804d6d3513f491" +readonly filename="sccache-0.2.14-$version-x86_64-unknown-linux-musl" readonly tarball="$filename.tar.gz" cd .gitlab echo "$sha256sum $tarball" > sccache.sha256sum -curl -OL "https://github.com/mozilla/sccache/releases/download/$version/$tarball" +curl -OL "https://github.com/robertmaynard/sccache/releases/download/$version/$tarball" sha256sum --check sccache.sha256sum tar xf "$tarball" -mv "$filename/sccache" . +#mv "$filename/sccache" .