File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,11 @@ COPY ./common/install_cache.sh install_cache.sh
101101ENV PATH /opt/cache/bin:$PATH
102102RUN 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
105110ARG BUILD_ENVIRONMENT
106111ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}
Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ COPY ./common/install_openmpi.sh install_openmpi.sh
133133RUN if [ -n "${CUDA_VERSION}" ]; then bash install_openmpi.sh; fi
134134RUN 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
137142ARG BUILD_ENVIRONMENT
138143ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT}
You can’t perform that action at this time.
0 commit comments