diff options
author | Dominic Sacré <dominic.sacre@gmx.de> | 2015-07-18 00:57:47 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-30 21:03:27 +0200 |
commit | eb01b36cb3f2f686bc05c690b06d1e0680dda1f5 (patch) | |
tree | 9ca406c6703bf2562d688c34d515b156938e2ffa /meta-oe/recipes-benchmark | |
parent | f110de50801c14483c05ebb594491d3361c0d337 (diff) | |
download | meta-openembedded-eb01b36cb3f2f686bc05c690b06d1e0680dda1f5.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 12 |
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" | |||
10 | LICENSE = "GPLv2" | 10 | LICENSE = "GPLv2" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" |
12 | 12 | ||
13 | DEPENDS = "libaio zlib numactl" | 13 | DEPENDS = "libaio zlib" |
14 | 14 | ||
15 | PACKAGECONFIG_NUMA = "numa" | ||
15 | # ARM does not currently support NUMA | 16 | # ARM does not currently support NUMA |
16 | COMPATIBLE_HOST = "^((?!arm).*)$" | 17 | PACKAGECONFIG_NUMA_arm = "" |
18 | |||
19 | PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" | ||
20 | PACKAGECONFIG[numa] = ",--disable-numa,numactl" | ||
17 | 21 | ||
18 | # rev for v2.2.6 | 22 | # rev for v2.2.6 |
19 | SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82" | 23 | SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82" |
@@ -23,6 +27,10 @@ S = "${WORKDIR}/git" | |||
23 | 27 | ||
24 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'" | 28 | EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'" |
25 | 29 | ||
30 | do_configure() { | ||
31 | ./configure ${EXTRA_OECONF} | ||
32 | } | ||
33 | |||
26 | do_install() { | 34 | do_install() { |
27 | oe_runmake install DESTDIR=${D} prefix=${prefix} mandir=${mandir} | 35 | oe_runmake install DESTDIR=${D} prefix=${prefix} mandir=${mandir} |
28 | install -d ${D}/${docdir}/${PN} | 36 | install -d ${D}/${docdir}/${PN} |