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).
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}
}
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() {