From 6c061870c8c5414b1adf37b9e2d803b6ceb83410 Mon Sep 17 00:00:00 2001 From: root <6543@obermui.de> Date: Fri, 2 Nov 2018 10:05:08 +0000 Subject: [PATCH] speedup make --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index aed2807..87fb93e 100755 --- a/build.sh +++ b/build.sh @@ -4,22 +4,22 @@ rootdir=/opt/tor_static #build zlib cd $rootdir/zlib/repo/ `cat ../config` -make && make install +make -j $(nproc) && make install #build libevent cd $rootdir/libevent/repo/ ./autogen.sh `cat ../config` -make && make install +make -j $(nproc) && make install #build openssl cd $rootdir/openssl/repo/ ./autogen.sh `cat ../config` -make && make install +make -j $(nproc) && make install #build static tor cd $rootdir/tor ./autogen.sh `cat ../config` -make && make install +make -j $(nproc) && make install