This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
src/ci/docker/host-x86_64/dist-x86_64-linux Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ curl https://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.bz2 | tar xfj -
1111mkdir binutils-build
1212cd binutils-build
1313hide_output ../binutils-$VERSION /configure --prefix=/rustroot
14- hide_output make -j10
14+ hide_output make -j $( nproc )
1515hide_output make install
1616
1717cd ..
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ hide_output \
3030 -DLLVM_ENABLE_PROJECTS=" clang;lld" \
3131 -DC_INCLUDE_DIRS=" $INC "
3232
33- hide_output make -j10
33+ hide_output make -j $( nproc )
3434hide_output make install
3535
3636cd ../..
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ curl -L https://github.com/Kitware/CMake/releases/download/v$CMAKE/cmake-$CMAKE.
99mkdir cmake-build
1010cd cmake-build
1111hide_output ../cmake-$CMAKE /configure --prefix=/rustroot
12- hide_output make -j10
12+ hide_output make -j $( nproc )
1313hide_output make install
1414
1515cd ..
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ hide_output ../curl-$VERSION/configure \
3030 --disable-rtsp \
3131 --disable-ldaps \
3232 --disable-ldap
33- hide_output make -j10
33+ hide_output make -j $( nproc )
3434hide_output make install
3535
3636cd ..
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ hide_output ../gcc-$GCC/configure \
3232 --prefix=/rustroot \
3333 --enable-languages=c,c++ \
3434 --disable-gnu-unique-object
35- hide_output make -j10
35+ hide_output make -j $( nproc )
3636hide_output make install
3737ln -s gcc /rustroot/bin/cc
3838
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ curl $URL | tar xzf -
1414
1515cd openssl-$VERSION
1616hide_output ./config --prefix=/rustroot shared -fPIC
17- hide_output make -j10
17+ hide_output make -j $( nproc )
1818hide_output make install
1919cd ..
2020rm -rf openssl-$VERSION
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ cd python-build
1414# than that fairly normal.
1515CFLAGS=' -I /rustroot/include' LDFLAGS=' -L /rustroot/lib -L /rustroot/lib64' \
1616 hide_output ../Python-$VERSION /configure --prefix=/rustroot
17- hide_output make -j10
17+ hide_output make -j $( nproc )
1818hide_output make install
1919
2020cd ..
You can’t perform that action at this time.
0 commit comments