File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ git clone https://github.com/lz4/lz4.git ../3pp/lz4
5555cd ../3pp/lz4
5656lz4Path=` pwd`
5757git checkout v1.9.4
58- make -j $( nproc )
58+ make -j4
5959test $? -eq 0 || { echo " Can't compile lz4" ; exit 1; }
6060cd ../../build
6161# ./lib/liblz4.a
@@ -73,7 +73,7 @@ if [ ! -d "../3pp/libsodium" ]; then
7373 git checkout 1.0.18
7474 ./autogen.sh
7575 ./configure --with-pic --enable-static
76- make -j $( nproc )
76+ make -j4
7777 test $? -eq 0 || { echo " Can't compile libsodium" ; exit 1; }
7878 cd ../../build
7979else
@@ -87,7 +87,7 @@ if [ ! -d "../3pp/openssl_3" ]; then
8787 opensslPath=` pwd`
8888 git checkout openssl-3.1.4
8989 ./config
90- make build_libs -j $( nproc )
90+ make build_libs -j4
9191 test $? -eq 0 || { echo " Can't compile openssl_3" ; exit 1; }
9292 cd ../../build
9393else
@@ -100,7 +100,7 @@ if [ ! -d "../3pp/zlib" ]; then
100100 cd ../3pp/zlib
101101 zlibPath=` pwd`
102102 ./configure --static
103- make -j $( nproc )
103+ make -j4
104104 test $? -eq 0 || { echo " Can't compile zlib" ; exit 1; }
105105 cd ../../build
106106else
@@ -116,7 +116,7 @@ if [ ! -d "../3pp/libmicrohttpd" ]; then
116116 cd libmicrohttpd-1.0.1
117117 libmicrohttpdPath=` pwd`
118118 ./configure --enable-static --disable-tests --disable-benchmark --disable-shared --disable-https --with-pic
119- make -j $( nproc )
119+ make -j4
120120 test $? -eq 0 || { echo " Can't compile libmicrohttpd" ; exit 1; }
121121 cd ../../../build
122122else
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ if [ ! -d "lz4" ]; then
5353 cd lz4
5454 lz4Path=` pwd`
5555 git checkout v1.9.4
56- make -j $( nproc )
56+ make -j4
5757 test $? -eq 0 || { echo " Can't compile lz4" ; exit 1; }
5858 cd ..
5959else
You can’t perform that action at this time.
0 commit comments