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
4a33575e
Commit
4a33575e
authored
Oct 22, 2023
by
illsilin
Browse files
separate caches for different architectures
parent
b5d28a9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Jenkinsfile
Jenkinsfile
+11
-1
No files found.
Jenkinsfile
View file @
4a33575e
...
@@ -243,8 +243,18 @@ def cmake_build(Map conf=[:]){
...
@@ -243,8 +243,18 @@ def cmake_build(Map conf=[:]){
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
export SCCACHE_EXTRAFILES=/tmp/.sccache/rocm_compilers_hash_file
export SCCACHE_REDIS="redis://${env.CK_SCCACHE}"
export SCCACHE_REDIS="redis://${env.CK_SCCACHE}"
echo "connect = ${env.CK_SCCACHE}" >> ../script/redis-cli.conf
echo "connect = ${env.CK_SCCACHE}" >> ../script/redis-cli.conf
echo "setup_args: ${setup_args}"
if [ "${setup_args}" =~ "gfx1100" ]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx11
elif [ "${setup_args}" =~ "gfx1030" ]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx10
elif [ "${setup_args}" =~ "gfx940" ]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx94
else
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx90
fi
echo "SCCACHE_C_CUSTOM_CACHE_BUSTER: ${SCCACHE_C_CUSTOM_CACHE_BUSTER}"
stunnel ../script/redis-cli.conf
stunnel ../script/redis-cli.conf
netstat -tulnp | grep -i stunnel
../script/sccache_wrapper.sh --enforce_redis
../script/sccache_wrapper.sh --enforce_redis
fi
fi
"""
"""
...
...
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