[oe-commits] =?UTF-8?Q?Dominic=20Sacr=C3=A9=20?=: fio: Add PACKAGECONFIG for numa, re-enable ARM build

git at git.openembedded.org git at git.openembedded.org
Thu Jul 16 19:11:32 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 7c783235d552419a53ca9ffe562aa3d09087bd79
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=7c783235d552419a53ca9ffe562aa3d09087bd79

Author: Dominic Sacré <dominic.sacre at gmx.de>
Date:   Thu Jul 16 14:45:52 2015 +0200

fio: Add PACKAGECONFIG for numa, re-enable ARM build

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>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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"



More information about the Openembedded-commits mailing list