File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ RUN apt-get update && \
2727# Downgrade gcc&&g++
2828WORKDIR /usr/bin
2929COPY tools/dockerfile/build_scripts /build_scripts
30- RUN bash /build_scripts/install_trt.sh
3130RUN bash /build_scripts/install_gcc.sh gcc82 && rm -rf /build_scripts
3231RUN cp gcc gcc.bak && cp g++ g++.bak && rm gcc && rm g++
3332RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/local/bin/gcc
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function ref_whl(){
2222 ref_gpu=gpu-cuda${ref_CUDA_MAJOR} -cudnn${CUDNN_MAJOR}
2323 install_gpu=" _gpu"
2424 else
25- ref_gpu=" cpu-avx "
25+ ref_gpu=" cpu"
2626 install_gpu=" "
2727 fi
2828
@@ -56,7 +56,7 @@ function ref_whl(){
5656
5757 ref_dev=2.1.0.dev0
5858
59- ref_web=" https://paddle-wheel.bj.bcebos.com/${PADDLE_BRANCH} -${ref_gpu} -${ref_mkl}${ref_gcc} "
59+ ref_web=" https://paddle-wheel.bj.bcebos.com/${PADDLE_BRANCH} /linux/linux -${ref_gpu} -${ref_mkl}${ref_gcc} -avx "
6060
6161 if [[ ${PADDLE_VERSION} == " develop" && ${WITH_GPU} == " ON" ]]; then
6262 ref_paddle37_whl=paddlepaddle${install_gpu} -${ref_dev}${ref_version} -cp37-cp37m-linux_x86_64.whl
@@ -95,13 +95,6 @@ function install_gcc(){
9595}
9696
9797
98- # function install_jupyter() {
99- # if [[ ${WITH_NOTEBOOK} == "ON" ]];then
100- # # install jupyter notebook
101- # fi
102- # }
103-
104-
10598function make_dockerfile(){
10699 sed " s/<baseimg>/${docker_name} /g" tools/dockerfile/Dockerfile.release16 > Dockerfile.tmp
107100}
@@ -110,7 +103,6 @@ function make_dockerfile(){
110103function main(){
111104 make_dockerfile
112105 install_gcc
113- # install_jupyter
114106 ref_whl
115107 install_whl
116108}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function ref_whl(){
2222 ref_gpu=gpu-cuda${ref_CUDA_MAJOR} -cudnn${CUDNN_MAJOR}
2323 install_gpu=" _gpu"
2424 else
25- ref_gpu=" cpu-avx "
25+ ref_gpu=" cpu"
2626 install_gpu=" "
2727 fi
2828
@@ -56,7 +56,7 @@ function ref_whl(){
5656
5757 ref_dev=2.1.0.dev0
5858
59- ref_web=" https://paddle-wheel.bj.bcebos.com/${PADDLE_BRANCH} -${ref_gpu} -${ref_mkl}${ref_gcc} "
59+ ref_web=" https://paddle-wheel.bj.bcebos.com/${PADDLE_BRANCH} /linux/linux -${ref_gpu} -${ref_mkl}${ref_gcc} -avx "
6060
6161 if [[ ${PADDLE_VERSION} == " develop" && ${WITH_GPU} == " ON" ]]; then
6262 ref_paddle37_whl=paddlepaddle${install_gpu} -${ref_dev}${ref_version} -cp37-cp37m-linux_x86_64.whl
@@ -80,7 +80,6 @@ function install_gcc(){
8080 if [ " ${gcc_version} " == " 8.2.0" ]; then
8181 sed -i ' s#<install_gcc>#WORKDIR /usr/bin \
8282 COPY tools/dockerfile/build_scripts /build_scripts \
83- RUN bash /build_scripts/install_trt.sh \
8483 RUN bash /build_scripts/install_gcc.sh gcc82 \&\& rm -rf /build_scripts \
8584 RUN cp gcc gcc.bak \&\& cp g++ g++.bak \&\& rm gcc \&\& rm g++ \
8685 RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/local/bin/gcc \
@@ -96,7 +95,6 @@ function install_gcc(){
9695}
9796
9897
99-
10098function make_dockerfile(){
10199 sed " s/<baseimg>/${docker_name} /g" tools/dockerfile/Dockerfile.release18 > Dockerfile.tmp
102100}
You can’t perform that action at this time.
0 commit comments