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
fc8ff61f
Commit
fc8ff61f
authored
Aug 11, 2018
by
Paul
Browse files
Ignore bzip2 for now
parent
8c9d1856
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Dockerfile
Dockerfile
+1
-0
Jenkinsfile
Jenkinsfile
+3
-3
No files found.
Dockerfile
View file @
fc8ff61f
...
@@ -57,6 +57,7 @@ RUN ln -s $PREFIX /opt/rocm/hip
...
@@ -57,6 +57,7 @@ RUN ln -s $PREFIX /opt/rocm/hip
RUN
ln
-s
$PREFIX
/opt/rocm/hcc
RUN
ln
-s
$PREFIX
/opt/rocm/hcc
# Install dependencies
# Install dependencies
RUN
cget
-p
$PREFIX
ignore bzip2
ADD
dev-requirements.txt /dev-requirements.txt
ADD
dev-requirements.txt /dev-requirements.txt
ADD
requirements.txt /requirements.txt
ADD
requirements.txt /requirements.txt
RUN
cget
-p
$PREFIX
install
-f
/dev-requirements.txt
RUN
cget
-p
$PREFIX
install
-f
/dev-requirements.txt
...
...
Jenkinsfile
View file @
fc8ff61f
...
@@ -19,13 +19,13 @@ def rocmtestnode(variant, name, body) {
...
@@ -19,13 +19,13 @@ def rocmtestnode(variant, name, body) {
}
}
stage
(
"image ${variant}"
)
{
stage
(
"image ${variant}"
)
{
try
{
try
{
docker
.
build
(
"${image}"
,
'
--add-host bzip2.org:46.235.226.80 --add-host www.bzip2.org:46.235.226.80
.'
)
docker
.
build
(
"${image}"
,
'.'
)
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
'--no-cache
--add-host bzip2.org:46.235.226.80 --add-host www.bzip2.org:46.235.226.80
.'
)
docker
.
build
(
"${image}"
,
'--no-cache .'
)
}
}
}
}
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE
--add-host="bzip2.org:46.235.226.80" --add-host="www.bzip2.org:46.235.226.80"
'
)
{
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE'
)
{
timeout
(
time:
1
,
unit:
'HOURS'
)
{
timeout
(
time:
1
,
unit:
'HOURS'
)
{
body
(
cmake_build
)
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