All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] fio: Add PACKAGECONFIG for numa, re-enable ARM build
@ 2015-07-16 12:45 Dominic Sacré
  2015-07-17  0:46 ` Andre McCurdy
  0 siblings, 1 reply; 5+ messages in thread
From: Dominic Sacré @ 2015-07-16 12:45 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-17 22:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 12:45 [meta-oe][PATCH] fio: Add PACKAGECONFIG for numa, re-enable ARM build Dominic Sacré
2015-07-17  0:46 ` Andre McCurdy
2015-07-17 14:45   ` Dominic Sacré
2015-07-17 20:56     ` Andre McCurdy
2015-07-17 22:57       ` [meta-oe][PATCH v2] " Dominic Sacré

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.