Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 740616 Details for
Bug 814281
dev-lang/rust improve makeopts for distcc hosts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rust-distcc-support-ebuild patch
rust-ebuild-distcc.patch (text/plain), 1.41 KB, created by
nic
on 2021-09-21 21:56:42 UTC
(
hide
)
Description:
rust-distcc-support-ebuild patch
Filename:
MIME Type:
Creator:
nic
Created:
2021-09-21 21:56:42 UTC
Size:
1.41 KB
patch
obsolete
># https://bugs.gentoo.org/814281 ># Signed-off-by: Nic Boet <nic@boet.cc> > >--- /var/db/repos/gentoo/dev-lang/rust/rust-1.53.0.ebuild 2021-09-06 19:39:45.000000000 -0500 >+++ rust-1.53.0.ebuild 2021-09-21 16:14:25.737000000 -0500 >@@ -154,6 +154,17 @@ > > S="${WORKDIR}/${MY_P}-src" > >+# adds support for distcc >+# makeopts_loadavg is used for -j ifdef, otherwise continue using makeopts_jobs >+get_makeopts() { >+ if [[ $(makeopts_loadavg) == 999 ]]; then >+ echo $(makeopts_jobs) >+ else >+ echo $( printf "%.0f" $(makeopts_loadavg) ) >+ fi >+ >+} >+ > toml_usex() { > usex "${1}" true false > } >@@ -503,7 +514,7 @@ > ( > IFS=$'\n' > env $(cat "${S}"/config.env) RUST_BACKTRACE=1\ >- "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die >+ "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(get_makeopts) || die > ) > } > >@@ -549,7 +560,7 @@ > IFS=$'\n' > env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \ > "${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \ >- -j$(makeopts_jobs) --no-doc --no-fail-fast "${t}" >+ -j$(get_makeopts) --no-doc --no-fail-fast "${t}" > ) > then > failed+=( "${t}" ) >@@ -567,7 +578,7 @@ > ( > IFS=$'\n' > env $(cat "${S}"/config.env) DESTDIR="${D}" \ >- "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die >+ "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(get_makeopts) || die > ) > > # bug #689562, #689160
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 814281
: 740616 |
740619