From dfa239253cdb714a9ca849ef921561efa4c33670 Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Wed, 16 Oct 2019 13:11:57 +0800 Subject: [PATCH] reduce make install time in CI (#20643) test=develop --- paddle/scripts/paddle_build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index ed89e9b1548..0e351e50761 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -301,7 +301,6 @@ function build_base() { make clean fi - make -j ${parallel_number} make install -j ${parallel_number} } @@ -327,7 +326,6 @@ EOF if [[ "$ENABLE_MAKE_CLEAN" != "OFF" ]]; then make clean fi - make -j 8 make install -j 8 } @@ -906,7 +904,7 @@ EOF xz-utils tk-dev libffi-dev liblzma-dev RUN mkdir -p /root/python_build/ && wget -q https://www.sqlite.org/2018/sqlite-autoconf-3250300.tar.gz && \ tar -zxf sqlite-autoconf-3250300.tar.gz && cd sqlite-autoconf-3250300 && \ - ./configure -prefix=/usr/local && make -j8 && make install && cd ../ && rm sqlite-autoconf-3250300.tar.gz && \ + ./configure -prefix=/usr/local && make install -j8 && cd ../ && rm sqlite-autoconf-3250300.tar.gz && \ wget -q https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz && \ tar -xzf Python-3.6.0.tgz && cd Python-3.6.0 && \ CFLAGS="-Wformat" ./configure --prefix=/usr/local/ --enable-shared > /dev/null && \ -- GitLab