diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-12 06:29:26 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-12 06:38:11 -0400 |
commit | 0671fd8b94d3ee9eb164bae47d2ad0871d5632ae (patch) | |
tree | d8b0fd4b94165def16c94c3f5ae19e81d4efc686 /sys-libs | |
parent | sys-libs/ncurses: rework disabling of progs (diff) | |
download | gentoo-0671fd8b94d3ee9eb164bae47d2ad0871d5632ae.tar.gz gentoo-0671fd8b94d3ee9eb164bae47d2ad0871d5632ae.tar.bz2 gentoo-0671fd8b94d3ee9eb164bae47d2ad0871d5632ae.zip |
sys-libs/ncurses: run configure steps in parallel
This gives us a nice speed boost as the configure script is quite large.
Follow up changes will make this more apparent (when we run configure up
to 4 times instead of just 2).
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/ncurses/ncurses-6.0.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-libs/ncurses/ncurses-6.0.ebuild b/sys-libs/ncurses/ncurses-6.0.ebuild index 08d4b73ddabe..0a44ca69bb8f 100644 --- a/sys-libs/ncurses/ncurses-6.0.ebuild +++ b/sys-libs/ncurses/ncurses-6.0.ebuild @@ -4,7 +4,7 @@ EAPI="5" -inherit eutils flag-o-matic toolchain-funcs multilib-minimal +inherit eutils flag-o-matic toolchain-funcs multilib-minimal multiprocessing MY_PV=${PV:0:3} PV_SNAP=${PV:4} @@ -62,8 +62,10 @@ src_configure() { } multilib_src_configure() { - do_configure narrowc - use unicode && do_configure widec --enable-widec --includedir="${EPREFIX}"/usr/include/ncursesw + multijob_init + multijob_child_init do_configure narrowc + use unicode && multijob_child_init do_configure widec --enable-widec --includedir="${EPREFIX}"/usr/include/ncursesw + multijob_finish } do_configure() { |