This will fix bug #288597.
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 ..."
.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
("_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",
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",