Skip to content

Commit 54988b8

Browse files
committed
Initial Docker image commit
1 parent 6de3211 commit 54988b8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.ci/docker/centos-rocm/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ COPY ./common/install_cache.sh install_cache.sh
101101
ENV PATH /opt/cache/bin:$PATH
102102
RUN bash ./install_cache.sh && rm install_cache.sh
103103

104+
RUN git clone https://github.com/ROCm/rocm-libraries.git
105+
RUN cd rocm-libraries/shared/origami/python
106+
RUN python setup.py build_ext --inplace
107+
RUN export PYTHONPATH=$(pwd):$PYTHONPATH
108+
104109
# Include BUILD_ENVIRONMENT environment variable in image
105110
ARG BUILD_ENVIRONMENT
106111
ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}

.ci/docker/ubuntu-rocm/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ COPY ./common/install_openmpi.sh install_openmpi.sh
133133
RUN if [ -n "${CUDA_VERSION}" ]; then bash install_openmpi.sh; fi
134134
RUN rm install_openmpi.sh
135135

136+
RUN git clone https://github.com/ROCm/rocm-libraries.git
137+
RUN cd rocm-libraries/shared/origami/python
138+
RUN python setup.py build_ext --inplace
139+
RUN export PYTHONPATH=$(pwd):$PYTHONPATH
140+
136141
# Include BUILD_ENVIRONMENT environment variable in image
137142
ARG BUILD_ENVIRONMENT
138143
ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}

0 commit comments

Comments
 (0)