Update gitlab-ci to use a version of sccache that supports CUDA
This commit is contained in:
parent
c48a8bcc2e
commit
5b469b75a1
@ -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_v2"
|
||||||
readonly sha256sum="26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f"
|
readonly sha256sum="923e919ffdf3a9d7bdee79ddaea0169fc1f41dd2f2cac2c0b160b7a21d9c459d"
|
||||||
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" .
|
||||||
|
Loading…
Reference in New Issue
Block a user