On 06/23/2017 06:14 PM, Martin Jansa wrote:
Should numactl be enabled by default?
numactl.bb <http://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.
Thanks for pointing out the problem.
I'll send out V2.
Best Regards,
Chen Qi
On Thu, Jun 22, 2017 at 8:46 AM, Chen Qi <[email protected]
<mailto:[email protected]>> wrote:
Add PACKAGECONFIG items to allow for more flexiblity.
Signed-off-by: Chen Qi <[email protected]
<mailto:[email protected]>>
---
meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
<http://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
<http://hwloc_1.11.5.bb>
b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
<http://hwloc_1.11.5.bb>
index e067f2799..16cd507e6 100644
--- a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
<http://hwloc_1.11.5.bb>
+++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
<http://hwloc_1.11.5.bb>
@@ -13,10 +13,16 @@ SRC_URI[sha256sum] =
"95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14d
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]
<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
<http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel