Lines Matching full:ccache
3 # This script installs CCache with CUDA support.
14 path="$HOME/ccache"
54 if [ -f "$CUDA_NVCC_EXECUTABLE" ] && [[ "$CUDA_NVCC_EXECUTABLE" == *"ccache"* ]]; then # Heuristic…
57 … echo "CCache with nvcc support is already installed at $CUDA_NVCC_EXECUTABLE, please add --force"
63 # Installing CCache
64 echo "CCache will be installed at $path"
69 with_proxy git clone https://github.com/colesbury/ccache.git "$path" -b ccbin
77 ln -sf "$path/bin/ccache" "$path/lib/cc"
78 ln -sf "$path/bin/ccache" "$path/lib/c++"
79 ln -sf "$path/bin/ccache" "$path/lib/gcc"
80 ln -sf "$path/bin/ccache" "$path/lib/g++"
81 ln -sf "$path/bin/ccache" "$path/cuda/nvcc"
82 "$path/bin/ccache" -M 25Gi
84 # Make sure the nvcc wrapped in CCache is runnable
86 echo 'Congrats! The CCache with nvcc support is installed!'
88 echo "################ Env Var for CCache with CUDA support ################"