Created attachment 396420 [details, diff] patch against gx86 sys-process/numactl is a dependency of sys-apps/hwloc, which is needed for sys-cluster/openmpi (bug #519700). Changes: - inherit multilib-minimal - set ECONF_SOURCE=${S} - reworked src_install into multilib_src_install_all
Looks fine.
@base-system: please review
(In reply to Christoph Junghans from comment #0) numactl is more than a library. you shouldn't waste time building the tools for other ABIs when they aren't used.
(In reply to SpanKY from comment #3) > (In reply to Christoph Junghans from comment #0) > > numactl is more than a library. you shouldn't waste time building the tools > for other ABIs when they aren't used. Sure, but on my machine the compile time difference is minimal, "make -j1 all" took 7.3s while "make -j1 libnuma.la" took 3.5s. In addition the compile part is only a small of the whole merge. So is it worth the hazzle? Technically the solution could be: multilib_src_compile() { multilib_is_native_abi && default || emake libnuma.la } and multilib_src_install() { multilib_is_native_abi && emake DESTDIR="${D}" install || emake DESTDIR="${D}" install-libLTLIBRARIES } Anyhow, your ebuild, your call!
Created attachment 396638 [details, diff] patch against gx86 Updated version of the patch to save compile time.
@vapier: which version do you prefer, the simple or time-saving one?
i've fine with the new more complicated version. not everyone has fast machines, so i'd rather elide the compilation entirely.
+*numactl-2.0.10-r1 (20 Feb 2015) + + 20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +numactl-2.0.10-r1.ebuild: + added multilib support (bug #540034) +