On Fri, Jun 23, 2017 at 3:14 AM, Martin Jansa <[email protected]> wrote: > Should numactl be enabled by default? > > numactl.bb currently marks it ARM incompatible: > # ARM does not currently support NUMA > COMPATIBLE_HOST = "^((?!arm).*)$" > > and enabling the PACKAGECONFIG here by default would extend the same > restriction to hwloc as well. >
This patch exposes another issue where pkgconfig comes into picture but is missing in rss fix is here http://lists.openembedded.org/pipermail/openembedded-devel/2017-June/113366.html > > On Thu, Jun 22, 2017 at 8:46 AM, Chen Qi <[email protected]> wrote: > >> Add PACKAGECONFIG items to allow for more flexiblity. >> >> Signed-off-by: Chen Qi <[email protected]> >> --- >> meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 10 ++++++++-- >> 1 file changed, 8 insertions(+), 2 deletions(-) >> >> diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb >> b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb >> index e067f2799..16cd507e6 100644 >> --- a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb >> +++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb >> @@ -13,10 +13,16 @@ SRC_URI[sha256sum] = "95d80286dfe658a3f79e2ac9069878 >> 2bb36e5504f4bac1bba2394ba14d >> >> inherit autotools >> >> -DEPENDS += "cairo ncurses udev libxml2 zlib libpciaccess" >> -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', >> 'virtual/libx11', '', d)}" >> +DEPENDS += "ncurses udev zlib" >> DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', >> 'libselinux', '', d)}" >> >> +PACKAGECONFIG ?= "numactl pci libxml2 >> ${@bb.utils.contains('DISTRO_FEATURES', >> 'x11', 'x11', '', d)}" >> + >> +PACKAGECONFIG[numactl] = "--enable-libnuma,--disable- >> libnuma,numactl,numactl" >> +PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable- >> libxml2,libxml2,libxml2" >> +PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 cairo,cairo" >> +PACKAGECONFIG[pci] = "--enable-pci,--disable-pci, >> libpciaccess,libpciaccess" >> + >> # Split hwloc library into separate subpackage >> PACKAGES_prepend = " lib${PN} " >> FILES_lib${PN} += "${libdir}/lib${PN}.so*" >> -- >> 2.11.0 >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
