[oe] [meta-oe][PATCH] hwloc: add several PACKAGECONFIG items
Martin Jansa
martin.jansa at gmail.com
Fri Jun 23 10:14:47 UTC 2017
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.
On Thu, Jun 22, 2017 at 8:46 AM, Chen Qi <Qi.Chen at windriver.com> wrote:
> Add PACKAGECONFIG items to allow for more flexiblity.
>
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
> 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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list