mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Merge topic 'use_sccache_for_cuda_v3'
e97973689 Update gitlab-ci to use a version of sccache that supports CUDA Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2044
This commit is contained in:
commit
d9c14e2818
@ -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"
|
||||
|
@ -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" .
|
||||
|
Loading…
Reference in New Issue
Block a user