From 0671fd8b94d3ee9eb164bae47d2ad0871d5632ae Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Aug 2015 06:29:26 -0400 Subject: [PATCH] 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). --- sys-libs/ncurses/ncurses-6.0.ebuild | 8 +++++--- 1 file 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() { -- 2.26.2