All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] fio: re-enable building for ARM
@ 2015-07-15 23:00 Dominic Sacré
  2015-07-15 23:51 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Dominic Sacré @ 2015-07-15 23:00 UTC (permalink / raw)
  To: openembedded-devel

fio's use of libnuma/numactl is optional, and the availability of
the library is detected during configure.

This patch allows fio to build for ARM again, by conditionally
removing the dependency on numactl (which does not support ARM).

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
---
 meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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..fe41020 100644
--- a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 DEPENDS = "libaio zlib numactl"
 
 # ARM does not currently support NUMA
-COMPATIBLE_HOST = "^((?!arm).*)$"
+DEPENDS_remove_arm = "numactl"
 
 # rev for v2.2.6
 SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82"
-- 
2.4.5



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

* Re: [meta-oe][PATCH] fio: re-enable building for ARM
  2015-07-15 23:00 [meta-oe][PATCH] fio: re-enable building for ARM Dominic Sacré
@ 2015-07-15 23:51 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2015-07-15 23:51 UTC (permalink / raw)
  To: openembedded-devel

Can you please add PACKAGECONFIG for numa, which will be enabled by default
for !arm ?

That way it will stay disabled even if numactl gets available for arm,
instead of autodetecting it.

On Thu, Jul 16, 2015 at 1:00 AM, Dominic Sacré <dominic.sacre@gmx.de> wrote:

> fio's use of libnuma/numactl is optional, and the availability of
> the library is detected during configure.
>
> This patch allows fio to build for ARM again, by conditionally
> removing the dependency on numactl (which does not support ARM).
>
> Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
> ---
>  meta-oe/recipes-benchmark/fio/fio_2.2.6.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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..fe41020 100644
> --- a/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
> +++ b/meta-oe/recipes-benchmark/fio/fio_2.2.6.bb
> @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM =
> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
>  DEPENDS = "libaio zlib numactl"
>
>  # ARM does not currently support NUMA
> -COMPATIBLE_HOST = "^((?!arm).*)$"
> +DEPENDS_remove_arm = "numactl"
>
>  # rev for v2.2.6
>  SRCREV = "f52c9691bc8c285f3445235c69acdfd6de7f9b82"
> --
> 2.4.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2015-07-15 23:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15 23:00 [meta-oe][PATCH] fio: re-enable building for ARM Dominic Sacré
2015-07-15 23:51 ` Martin Jansa

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.