[oe] [meta-oe][PATCH] fio: Add PACKAGECONFIG for numa, re-enable ARM build
Dominic Sacré
dominic.sacre at gmx.de
Thu Jul 16 12:45:52 UTC 2015
Make fio's NUMA support optional via PACKAGECONFIG.
Enable this feature by default, except on ARM where libnuma/numactl
is not available.
Signed-off-by: Dominic Sacré <dominic.sacre at gmx.de>
---
meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
index 82f9cd4..1255441 100644
--- a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
@@ -10,10 +10,13 @@ SECTION = "console/tests"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
-DEPENDS = "libaio zlib numactl"
+DEPENDS = "libaio zlib"
+
+PACKAGECONFIG ??= "numa"
+PACKAGECONFIG[numa] = ",--disable-numa,numactl"
# ARM does not currently support NUMA
-COMPATIBLE_HOST = "^((?!arm).*)$"
+PACKAGECONFIG_remove_arm = "numa"
# rev for v2.2.6
SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82"
--
2.4.5
More information about the Openembedded-devel
mailing list