Commit 41cf1699 authored by illsilin's avatar illsilin
Browse files

use /tmp instead of /usr/local for cache

parent 05b0b90c
......@@ -238,9 +238,9 @@ def cmake_build(Map conf=[:]){
export SCCACHE_ENABLED=true
export SCCACHE_LOG_LEVEL=debug
export SCCACHE_IDLE_TIMEOUT=14400
export COMPILERS_HASH_DIR=/usr/local/.sccache
export COMPILERS_HASH_DIR=/tmp/.sccache
export SCCACHE_BIN=/usr/local/.cargo/bin/sccache
export SCCACHE_EXTRAFILES=/usr/local/.sccache/rocm_compilers_hash_file
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
../script/sccache_wrapper.sh;
fi
"""
......
#!/bin/bash
set -e
COMPILERS_HASH_DIR=${COMPILERS_HASH_DIR:-"/usr/local/.sccache"}
COMPILERS_HASH_DIR=${COMPILERS_HASH_DIR:-"/tmp/.sccache"}
SCCACHE_EXTRAFILES=${SCCACHE_EXTRAFILES:-"${COMPILERS_HASH_DIR}/rocm_compilers_hash_file"}
SCCACHE_BIN=${SCCACHE_BIN:-"${SCCACHE_INSTALL_LOCATION}/sccache"}
ENFORCE_REDIS="false"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment