parallel libsodium and socksify builds

This commit is contained in:
clowwindy 2014-12-11 12:46:52 +08:00
parent 55630f5a7e
commit c214dbf7b5
2 changed files with 2 additions and 2 deletions

View file

@ -5,6 +5,6 @@ if [ ! -d libsodium-1.0.1 ]; then
tar xf libsodium-1.0.1.tar.gz || exit 1 tar xf libsodium-1.0.1.tar.gz || exit 1
fi fi
pushd libsodium-1.0.1 pushd libsodium-1.0.1
./configure && make && make install || exit 1 ./configure && make -j2 && make install || exit 1
sudo ldconfig sudo ldconfig
popd popd

View file

@ -5,6 +5,6 @@ if [ ! -d dante-1.4.0 ]; then
tar xf dante-1.4.0.tar.gz || exit 1 tar xf dante-1.4.0.tar.gz || exit 1
fi fi
pushd dante-1.4.0 pushd dante-1.4.0
./configure && make && make install || exit 1 ./configure && make -j4 && make install || exit 1
popd popd
cp tests/socksify/socks.conf /etc/ || exit 1 cp tests/socksify/socks.conf /etc/ || exit 1