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
MIGraphX
Commits
71fdde1a
Commit
71fdde1a
authored
Mar 14, 2019
by
Paul
Browse files
Use withEnv
parent
584b55b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
Jenkinsfile
Jenkinsfile
+14
-14
No files found.
Jenkinsfile
View file @
71fdde1a
...
...
@@ -20,22 +20,22 @@ def rocmtestnode(variant, name, body) {
}
}
node
(
name
)
{
env
.
HSA_ENABLE_SDMA
=
0
env
.
MIOPEN_DEBUG_GCN_ASM_KERNELS
=
0
stage
(
"checkout ${variant}"
)
{
checkout
scm
}
stage
(
"image ${variant}"
)
{
try
{
docker
.
build
(
"${image}"
,
'.'
)
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
'--no-cache .'
)
withEnv
([
'HSA_ENABLE_SDMA=0'
,
'MIOPEN_DEBUG_GCN_ASM_KERNELS=0'
])
{
stage
(
"checkout ${variant}"
)
{
checkout
scm
}
stage
(
"image ${variant}"
)
{
try
{
docker
.
build
(
"${image}"
,
'.'
)
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
'--no-cache .'
)
}
}
}
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE
'
)
{
timeout
(
time:
1
,
unit:
'HOURS'
)
{
body
(
cmake_build
)
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE'
)
{
timeout
(
time:
1
,
unit:
'HOURS
'
)
{
body
(
cmake_build
)
}
}
}
}
...
...
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