Support ASDF_CONCURRENCY

This commit is contained in:
Daniel Perez 2016-07-01 16:41:58 +09:00
parent 776f5511e4
commit 1538892959

View file

@ -34,11 +34,13 @@ install_python() {
# we unset it here because echo-ing changes the return value of the function # we unset it here because echo-ing changes the return value of the function
unset ASDF_PKG_MISSING unset ASDF_PKG_MISSING
ASDF_CONCURRENCY="${ASDF_CONCURRENCY:-1}"
echo "Building with options: $configure_options" echo "Building with options: $configure_options"
./configure $configure_options || exit 1 ./configure $configure_options || exit 1
make || exit 1 make -j $ASDF_CONCURRENCY || exit 1
make install || exit 1 make -j $ASDF_CONCURRENCY install || exit 1
) )
} }