Update gitlab-ci to use a version of sccache that supports CUDA

This commit is contained in:
Robert Maynard 2020-04-08 12:02:43 -04:00
parent f9a35b7c80
commit e979736893
2 changed files with 6 additions and 6 deletions

@ -101,7 +101,7 @@ stages:
before_script: before_script:
- .gitlab/ci/config/sccache.sh - .gitlab/ci/config/sccache.sh
- export PATH=$PWD/.gitlab:$PATH - export PATH=$PWD/.gitlab:$PATH
- SCCACHE_IDLE_TIMEOUT=1200 sccache --start-server - SCCACHE_IDLE_TIMEOUT=0 sccache --start-server
- sccache --show-stats - sccache --show-stats
- "cmake --version" - "cmake --version"
- "cmake -V -P .gitlab/ci/config/gitlab_ci_setup.cmake" - "cmake -V -P .gitlab/ci/config/gitlab_ci_setup.cmake"

@ -2,15 +2,15 @@
set -e set -e
readonly version="0.2.12" readonly version="nvcc_v3"
readonly sha256sum="26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f" readonly sha256sum="d5b56dd9e7d4597f4a47a90d6327e30a259151b59b897607e1804d6d3513f491"
readonly filename="sccache-$version-x86_64-unknown-linux-musl" readonly filename="sccache-0.2.14-$version-x86_64-unknown-linux-musl"
readonly tarball="$filename.tar.gz" readonly tarball="$filename.tar.gz"
cd .gitlab cd .gitlab
echo "$sha256sum $tarball" > sccache.sha256sum 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 sha256sum --check sccache.sha256sum
tar xf "$tarball" tar xf "$tarball"
mv "$filename/sccache" . #mv "$filename/sccache" .