aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic Sacré <dominic.sacre@gmx.de>2015-07-18 00:57:47 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-15 15:57:00 +0200
commitb79914ee9b72ffa8adda26d0f48a2abb42dc80cd (patch)
treec89c083f617cc5a0e789fb88aa2137f87b5e9a59
parent6c5bce759e96bede1678264b68131984188904f6 (diff)
downloadmeta-openembedded-b79914ee9b72ffa8adda26d0f48a2abb42dc80cd.tar.gz
meta-openembedded-b79914ee9b72ffa8adda26d0f48a2abb42dc80cd.tar.bz2
meta-openembedded-b79914ee9b72ffa8adda26d0f48a2abb42dc80cd.zip
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@gmx.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-benchmark/fio/fio_2.2.6.bb12
1 files changed, 10 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 82f9cd423..dca0e64e6 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,14 @@ SECTION = "console/tests"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
-DEPENDS = "libaio zlib numactl"
+DEPENDS = "libaio zlib"
+PACKAGECONFIG_NUMA = "numa"
# ARM does not currently support NUMA
-COMPATIBLE_HOST = "^((?!arm).*)$"
+PACKAGECONFIG_NUMA_arm = ""
+
+PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}"
+PACKAGECONFIG[numa] = ",--disable-numa,numactl"
# rev for v2.2.6
SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82"
@@ -23,6 +27,10 @@ S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'"
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+
do_install() {
oe_runmake install DESTDIR=${D} prefix=${prefix} mandir=${mandir}
install -d ${D}/${docdir}/${PN}