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
398a2c6a
Commit
398a2c6a
authored
Oct 22, 2023
by
illsilin
Browse files
quse double brackets for conditions
parent
d4da8469
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Jenkinsfile
Jenkinsfile
+3
-3
No files found.
Jenkinsfile
View file @
398a2c6a
...
@@ -244,11 +244,11 @@ def cmake_build(Map conf=[:]){
...
@@ -244,11 +244,11 @@ def cmake_build(Map conf=[:]){
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}"
echo "setup_args: ${setup_args}"
if [ "${setup_args}" =~ "gfx1100" ]; then
if [
[
"${setup_args}" =~ "gfx1100"
]
]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx11
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx11
elif [ "${setup_args}" =~ "gfx1030" ]; then
elif [
[
"${setup_args}" =~ "gfx1030"
]
]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx10
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx10
elif [ "${setup_args}" =~ "gfx940" ]; then
elif [
[
"${setup_args}" =~ "gfx940"
]
]; then
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx94
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx94
else
else
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx90
export SCCACHE_C_CUSTOM_CACHE_BUSTER=gfx90
...
...
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