Skip to content

Commit 91e84d3

Browse files
authored
Merge pull request #12702 from velconia/change_manylinux1_Docker
Add libpng dependencies to yum and correct libnccl dir
2 parents ff92b6b + 32ca9fe commit 91e84d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/manylinux1/Dockerfile.x64

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ENV PATH /opt/rh/devtoolset-2/root/usr/bin:$PATH
1313
ENV LD_LIBRARY_PATH /opt/rh/devtoolset-2/root/usr/lib64:/opt/rh/devtoolset-2/root/usr/lib:/usr/local/lib64:/usr/local/lib:${LD_LIBRARY_PATH}
1414
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
1515

16-
RUN yum install -y sqlite-devel zlib-devel openssl-devel pcre-devel vim tk-devel tkinter libtool xz graphviz
16+
RUN yum install -y sqlite-devel zlib-devel openssl-devel pcre-devel vim tk-devel tkinter libtool xz freetype-devel libpng-devel graphviz
1717
COPY build_scripts /build_scripts
1818
RUN bash build_scripts/build.sh && \
1919
bash build_scripts/install_nccl2.sh && rm -r build_scripts

tools/manylinux1/build_scripts/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ curl-config --features
105105
rm -rf /usr/local/ssl
106106

107107
# Install patchelf (latest with unreleased bug fixes)
108-
curl -sLO https://nipy.bic.berkeley.edu/manylinux/patchelf-0.9njs2.tar.gz
108+
curl -sLO http://nipy.bic.berkeley.edu/manylinux/patchelf-0.9njs2.tar.gz
109109
check_sha256sum patchelf-0.9njs2.tar.gz $PATCHELF_HASH
110110
tar -xzf patchelf-0.9njs2.tar.gz
111111
(cd patchelf-0.9njs2 && ./configure && make && make install)

tools/manylinux1/build_scripts/install_nccl2.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ for sub_deb in $DEBS; do
2121
ar x $sub_deb && tar xf data.tar.xz
2222
done
2323
mv -f usr/include/nccl.h /usr/local/include/
24-
mv -f usr/lib/libnccl* /usr/local/lib/
24+
mv -f usr/lib/x86_64-linux-gnu/libnccl* /usr/local/lib/
2525
rm -rf $DIR

0 commit comments

Comments
 (0)