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
56973605
Commit
56973605
authored
Jul 23, 2018
by
Paul
Browse files
Build a version for hcc
parent
b74d9628
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
Dockerfile
Dockerfile
+13
-2
No files found.
Dockerfile
View file @
56973605
...
...
@@ -21,8 +21,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
doxygen
\
gdb
\
git
\
hcc
\
hsa-rocr-dev
\
hsakmt-roct-dev
\
lcov
\
libelf-dev
\
libncurses5-dev
\
libpthread-stubs0-dev
\
libnuma-dev
\
python
\
python-dev
\
...
...
@@ -37,8 +41,15 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
# Install cget
RUN
pip
install
cget
# Install rclone
RUN
pip
install
https://github.com/pfultz2/rclone/archive/master.tar.gz
# Install hcc
RUN
rclone
-b
sanitizer1 https://github.com/RadeonOpenCompute/hcc.git /hcc
RUN
cget
-p
$PREFIX
install
hcc,/hcc
# Use hcc
RUN
cget
-p
$PREFIX
init
--cxx
/opt/rocm
/bin/hcc
RUN
cget
-p
$PREFIX
init
--cxx
$PREFIX
/bin/hcc
# Install dependencies
ADD
dev-requirements.txt /dev-requirements.txt
...
...
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