diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index ed89e9b1548e491400c10e6efc523c44a2d84adc..0e351e50761c75ea991239d1b498a5fa18b6290e 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 && \