use as many jobs in cargo as there are processors
This commit is contained in:
parent
1223a855bf
commit
fb694b56ab
1 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@ if [[ -z $DONT_CHANGE_SHELL ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CURL="curl -sSf"
|
CURL="curl -sSf"
|
||||||
|
jobs_count=`nproc`
|
||||||
|
|
||||||
#submodules
|
#submodules
|
||||||
DIR=`realpath $DIR`
|
DIR=`realpath $DIR`
|
||||||
|
@ -92,8 +93,8 @@ set +e
|
||||||
cargo uninstall rustfmt
|
cargo uninstall rustfmt
|
||||||
cargo uninstall racer
|
cargo uninstall racer
|
||||||
set -e
|
set -e
|
||||||
cargo install rustfmt
|
cargo install -j $jobs_count rustfmt
|
||||||
cargo install racer
|
cargo install -j $jobs_count racer
|
||||||
|
|
||||||
# rvm
|
# rvm
|
||||||
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
||||||
|
|
Loading…
Reference in a new issue