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
394540b1
Commit
394540b1
authored
Apr 12, 2020
by
Paul
Browse files
Use python 3 to install
parent
23d96aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Dockerfile
Dockerfile
+10
-8
No files found.
Dockerfile
View file @
394540b1
...
@@ -34,12 +34,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
...
@@ -34,12 +34,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
libnuma-dev
\
libnuma-dev
\
libpthread-stubs0-dev
\
libpthread-stubs0-dev
\
libssl-dev
\
libssl-dev
\
python
\
python3
\
python3
\
python-dev
\
python3-dev
\
python3-dev
\
python-pip
\
python3-pip
\
python3-pip
\
python-pip
\
python-dev
\
rocm-device-libs
\
rocm-device-libs
\
rocm-opencl
\
rocm-opencl
\
rocm-opencl-dev
\
rocm-opencl-dev
\
...
@@ -49,8 +48,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
...
@@ -49,8 +48,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
apt-get clean
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
ENV
LC_ALL=C.UTF-8
ENV
LANG=C.UTF-8
# Install cget
# Install cget
RUN
pip
install
cget
RUN
pip
3
install
cget
# Install rclone
# Install rclone
RUN
pip
install
https://github.com/pfultz2/rclone/archive/master.tar.gz
RUN
pip
install
https://github.com/pfultz2/rclone/archive/master.tar.gz
...
@@ -58,6 +60,10 @@ RUN pip install https://github.com/pfultz2/rclone/archive/master.tar.gz
...
@@ -58,6 +60,10 @@ RUN pip install https://github.com/pfultz2/rclone/archive/master.tar.gz
# Install yapf
# Install yapf
RUN
pip3
install
yapf
==
0.28.0
RUN
pip3
install
yapf
==
0.28.0
# Install doc requirements
ADD
doc/requirements.txt /doc-requirements.txt
RUN
pip3
install
-r
/doc-requirements.txt
# Install hcc
# Install hcc
RUN
rclone
-b
roc-2.6.x
-c
0f4c96b7851af2663a7f3ac16ecfb76c7c78a5bf https://github.com/RadeonOpenCompute/hcc.git /hcc
RUN
rclone
-b
roc-2.6.x
-c
0f4c96b7851af2663a7f3ac16ecfb76c7c78a5bf https://github.com/RadeonOpenCompute/hcc.git /hcc
RUN
cget
-p
$PREFIX
install
hcc,/hcc
RUN
cget
-p
$PREFIX
install
hcc,/hcc
...
@@ -79,10 +85,6 @@ ENV MIOPEN_USER_DB_PATH=/tmp/miopen/user-db
...
@@ -79,10 +85,6 @@ ENV MIOPEN_USER_DB_PATH=/tmp/miopen/user-db
ENV
LD_LIBRARY_PATH=$PREFIX/lib
ENV
LD_LIBRARY_PATH=$PREFIX/lib
# Install doc requirements
ADD
doc/requirements.txt /doc-requirements.txt
RUN
pip3
install
-r
/doc-requirements.txt
# Setup ubsan environment to printstacktrace
# Setup ubsan environment to printstacktrace
RUN
ln
-s
/usr/bin/llvm-symbolizer-5.0 /usr/local/bin/llvm-symbolizer
RUN
ln
-s
/usr/bin/llvm-symbolizer-5.0 /usr/local/bin/llvm-symbolizer
ENV
UBSAN_OPTIONS=print_stacktrace=1
ENV
UBSAN_OPTIONS=print_stacktrace=1
...
...
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