From: Dirkjan Ochtman Date: Tue, 11 Sep 2018 07:19:42 +0000 (+0200) Subject: dev-util/cargo: tweak the build command and die early X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7affc9f183165f8c5ce8fa2dcaebb2d74ae137dc;p=gentoo.git dev-util/cargo: tweak the build command and die early --- diff --git a/dev-util/cargo/cargo-0.29.0.ebuild b/dev-util/cargo/cargo-0.29.0.ebuild index e50430895374..984fa0934a2f 100644 --- a/dev-util/cargo/cargo-0.29.0.ebuild +++ b/dev-util/cargo/cargo-0.29.0.ebuild @@ -125,7 +125,7 @@ wincolor-0.1.6 wincolor-1.0.0 " -inherit cargo bash-completion-r1 versionator +inherit cargo bash-completion-r1 multiprocessing versionator BOOTSTRAP_VERSION="0.$(($(get_version_component_range 2) - 1)).0" @@ -195,7 +195,7 @@ src_configure() { src_compile() { export CARGO_HOME="${ECARGO_HOME}" local cargo="${WORKDIR}/cargo-${BOOTSTRAP_VERSION}-${TRIPLE}/cargo/bin/cargo" - ${cargo} build --release + ${cargo} build -j$(makeopts_jobs) --release || die # Building HTML documentation use doc && ${cargo} doc