From 1538892959436dd32928edba4ed5758e873fd9a2 Mon Sep 17 00:00:00 2001 From: Daniel Perez Date: Fri, 1 Jul 2016 16:41:58 +0900 Subject: [PATCH] Support ASDF_CONCURRENCY --- bin/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index b1de5a6..78ed525 100755 --- a/bin/install +++ b/bin/install @@ -34,11 +34,13 @@ install_python() { # we unset it here because echo-ing changes the return value of the function unset ASDF_PKG_MISSING + ASDF_CONCURRENCY="${ASDF_CONCURRENCY:-1}" + echo "Building with options: $configure_options" ./configure $configure_options || exit 1 - make || exit 1 - make install || exit 1 + make -j $ASDF_CONCURRENCY || exit 1 + make -j $ASDF_CONCURRENCY install || exit 1 ) }