diff options
| author | jandob | 2016-03-01 13:47:24 +0100 |
|---|---|---|
| committer | jandob | 2016-03-01 13:47:24 +0100 |
| commit | 8f8a55df9ab92cb501e0bf4aafed5b22ab12d7e0 (patch) | |
| tree | 2349816fd313ad51000afae2380d9cc5211ec7da | |
| parent | update dnbd3 submodule (diff) | |
| download | systemd-init-8f8a55df9ab92cb501e0bf4aafed5b22ab12d7e0.tar.gz systemd-init-8f8a55df9ab92cb501e0bf4aafed5b22ab12d7e0.tar.xz systemd-init-8f8a55df9ab92cb501e0bf4aafed5b22ab12d7e0.zip | |
use multiple processes when building
| -rw-r--r-- | builder/dnbd3-rootfs/scripts/build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/builder/dnbd3-rootfs/scripts/build.sh b/builder/dnbd3-rootfs/scripts/build.sh index b8685607..4c560539 100644 --- a/builder/dnbd3-rootfs/scripts/build.sh +++ b/builder/dnbd3-rootfs/scripts/build.sh @@ -18,7 +18,7 @@ build_compile_qemu_xmount() { --extra-cflags="-I${xmount_installation}/include" \ --extra-cflags="-I${xmount_installation}/include/xmount" \ --disable-fdt --target-list="" - make libxmount_input_qemu.so + make -j4 libxmount_input_qemu.so local ret=$? popd return $ret @@ -45,7 +45,7 @@ build_compile_xmount() { cd trunk/build || return 1 cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="$install_prefix" .. - make + make -j4 make install DESTDIR="$destination_directory" local ret=$? popd @@ -84,7 +84,7 @@ build_compile_qemu_nbd() { --disable-kvm --disable-libssh2 --enable-user --disable-system \ --disable-fdt --disable-libnfs --disable-glusterfs --disable-libiscsi \ --disable-gcrypt --disable-nettle - make qemu-nbd + make -j4 qemu-nbd local ret=$? popd return $ret @@ -100,7 +100,7 @@ build_compile_nbd() { # "$1/nbd.ko" pushd "$1" logging.info 'Compile the nbd kernel module.' - make + make -j4 popd return $? } @@ -133,7 +133,7 @@ build_compile_dnbd3() { mkdir --parents build pushd build cmake ../ - make dnbd3 dnbd3-client + make -j4 dnbd3 dnbd3-client popd ## popd |
