Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274111 Details for
Bug 288597
Full support for distcc's pump mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[RFC]distcc-pump support
0001-Bug-288597-Add-support-for-FEATURES-distcc-pump.patch (text/plain), 2.86 KB, created by
MATSUU Takuto (RETIRED)
on 2011-05-20 14:46:35 UTC
(
hide
)
Description:
[RFC]distcc-pump support
Filename:
MIME Type:
Creator:
MATSUU Takuto (RETIRED)
Created:
2011-05-20 14:46:35 UTC
Size:
2.86 KB
patch
obsolete
>From 4320d2d1a1d2eaf79d1f35f18ae0a09c5f523e18 Mon Sep 17 00:00:00 2001 >From: MATSUU Takuto <matsuu@gentoo.org> >Date: Fri, 20 May 2011 23:44:05 +0900 >Subject: [PATCH] Bug #288597 - Add support for FEATURES=distcc-pump. > >--- > bin/ebuild.sh | 7 +++++++ > man/make.conf.5 | 3 +++ > pym/_emerge/EbuildPhase.py | 2 +- > pym/portage/const.py | 2 +- > 4 files changed, 12 insertions(+), 2 deletions(-) > >diff --git a/bin/ebuild.sh b/bin/ebuild.sh >index c3cf181..37a3084 100755 >--- a/bin/ebuild.sh >+++ b/bin/ebuild.sh >@@ -1071,6 +1071,13 @@ dyn_compile() { > > trap abort_compile SIGINT SIGQUIT > >+ if hasq distcc $FEATURES && hasq distcc-pump $FEATURES ; then >+ if [[ -z $INCLUDE_SERVER_PORT ]] || [[ ! -w $INCLUDE_SERVER_PORT ]] ; then >+ eval $(/usr/bin/pump --startup) >+ trap "/usr/bin/pump --shutdown" EXIT >+ fi >+ fi >+ > ebuild_phase pre_src_compile > > vecho ">>> Compiling source in $PWD ..." >diff --git a/man/make.conf.5 b/man/make.conf.5 >index bec8158..5fe6f06 100644 >--- a/man/make.conf.5 >+++ b/man/make.conf.5 >@@ -257,6 +257,9 @@ will be reused whenever they are available. > .B distcc > Enable portage support for the distcc package. > .TP >+.B distcc-pump >+Enable portage support for the distcc package with pump mode. >+.TP > .B distlocks > Portage uses lockfiles to ensure competing instances don't clobber > each other's files. This feature is enabled by default but may cause >diff --git a/pym/_emerge/EbuildPhase.py b/pym/_emerge/EbuildPhase.py >index db1d59e..306932f 100644 >--- a/pym/_emerge/EbuildPhase.py >+++ b/pym/_emerge/EbuildPhase.py >@@ -33,7 +33,7 @@ class EbuildPhase(CompositeTask): > ("_ebuild_lock",) > > # FEATURES displayed prior to setup phase >- _features_display = ("ccache", "distcc", "fakeroot", >+ _features_display = ("ccache", "distcc", "distcc-pump", "fakeroot", > "installsources", "keeptemp", "keepwork", "nostrip", > "preserve-libs", "sandbox", "selinux", "sesandbox", > "splitdebug", "suidctl", "test", "userpriv", >diff --git a/pym/portage/const.py b/pym/portage/const.py >index 98f3dac..e91c009 100644 >--- a/pym/portage/const.py >+++ b/pym/portage/const.py >@@ -88,7 +88,7 @@ EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" > SUPPORTED_FEATURES = frozenset([ > "assume-digests", "binpkg-logs", "buildpkg", "buildsyspkg", "candy", > "ccache", "chflags", "collision-protect", "compress-build-logs", >- "digest", "distcc", "distlocks", "ebuild-locks", "fakeroot", >+ "digest", "distcc", "distcc-pump", "distlocks", "ebuild-locks", "fakeroot", > "fail-clean", "fixpackages", "force-mirror", "getbinpkg", > "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror", > "metadata-transfer", "mirror", "multilib-strict", "news", >-- >1.7.5.rc3 >
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 288597
: 274111