From 9c008a1a80bd24675f0ac562fff6489ee16efaef Mon Sep 17 00:00:00 2001 From: iducn <45056973+iducn@users.noreply.github.com> Date: Thu, 16 Jul 2020 14:45:55 +0800 Subject: [PATCH] add path in gcc8s soft link (#25521) --- tools/manylinux1/Dockerfile.Inference | 2 +- tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/manylinux1/Dockerfile.Inference b/tools/manylinux1/Dockerfile.Inference index e045fc52109..0ba180b894b 120000 --- a/tools/manylinux1/Dockerfile.Inference +++ b/tools/manylinux1/Dockerfile.Inference @@ -1 +1 @@ -Dockerfile.cuda10_cudnn7_gcc48_ubuntu16 \ No newline at end of file +Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 \ No newline at end of file diff --git a/tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 b/tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 index 5bb471da0e9..d421f5ec801 100644 --- a/tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 +++ b/tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc8_ubuntu16 @@ -41,6 +41,7 @@ RUN wget -q https://paddle-docker-tar.bj.bcebos.com/home/users/tianshuo/bce-pyth make -j8 && make install ENV PATH=/usr/local/gcc-8.2/bin:$PATH +ENV LD_LIBRARY_PATH=/usr/local/gcc-8.2/lib64:$LD_LIBRARY_PATH RUN rm -rf /temp_gcc82 && rm -rf /gcc-8.2.0.tar.xz && rm -rf /gcc-8.2.0 # Install Python3.6 -- GitLab