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
d4754bc7
Commit
d4754bc7
authored
Oct 23, 2023
by
illsilin
Browse files
try another syntax for invocation tags
parent
fa7abffc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Jenkinsfile
Jenkinsfile
+4
-4
No files found.
Jenkinsfile
View file @
d4754bc7
...
@@ -201,16 +201,16 @@ def cmake_build(Map conf=[:]){
...
@@ -201,16 +201,16 @@ def cmake_build(Map conf=[:]){
cd build
cd build
"""
"""
def
invocation_tag
=
""
def
invocation_tag
=
""
if
(
"gfx11"
in
"${setup_args}"
){
if
(
setup_args
.
contains
(
"gfx11"
)
){
invocation_tag
=
"gfx11"
invocation_tag
=
"gfx11"
}
}
if
(
"gfx10"
in
"${setup_args}"
){
if
(
setup_args
.
contains
(
"gfx10"
)
){
invocation_tag
=
"gfx10"
invocation_tag
=
"gfx10"
}
}
if
(
"gfx90"
in
"${setup_args}"
){
if
(
setup_args
.
contains
(
"gfx90"
)
){
invocation_tag
=
"gfx90"
invocation_tag
=
"gfx90"
}
}
if
(
"gfx94"
in
"${setup_args}"
){
if
(
setup_args
.
contains
(
"gfx94"
)
){
invocation_tag
=
"gfx94"
invocation_tag
=
"gfx94"
}
}
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
&&
"${invocation_tag}"
!=
""
)
{
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
&&
"${invocation_tag}"
!=
""
)
{
...
...
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