Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
41cf1699
Commit
41cf1699
authored
Oct 16, 2023
by
illsilin
Browse files
use /tmp instead of /usr/local for cache
parent
05b0b90c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Jenkinsfile
Jenkinsfile
+2
-2
script/sccache_wrapper.sh
script/sccache_wrapper.sh
+1
-1
No files found.
Jenkinsfile
View file @
41cf1699
...
@@ -238,9 +238,9 @@ def cmake_build(Map conf=[:]){
...
@@ -238,9 +238,9 @@ def cmake_build(Map conf=[:]){
export SCCACHE_ENABLED=true
export SCCACHE_ENABLED=true
export SCCACHE_LOG_LEVEL=debug
export SCCACHE_LOG_LEVEL=debug
export SCCACHE_IDLE_TIMEOUT=14400
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_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;
../script/sccache_wrapper.sh;
fi
fi
"""
"""
...
...
script/sccache_wrapper.sh
View file @
41cf1699
#!/bin/bash
#!/bin/bash
set
-e
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_EXTRAFILES
=
${
SCCACHE_EXTRAFILES
:-
"
${
COMPILERS_HASH_DIR
}
/rocm_compilers_hash_file"
}
SCCACHE_BIN
=
${
SCCACHE_BIN
:-
"
${
SCCACHE_INSTALL_LOCATION
}
/sccache"
}
SCCACHE_BIN
=
${
SCCACHE_BIN
:-
"
${
SCCACHE_INSTALL_LOCATION
}
/sccache"
}
ENFORCE_REDIS
=
"false"
ENFORCE_REDIS
=
"false"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment