* [Buildroot] [PATCH] iozone: depends on threads
@ 2013-11-11 10:20 spdawson at gmail.com
2013-11-11 10:44 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: spdawson at gmail.com @ 2013-11-11 10:20 UTC (permalink / raw)
To: buildroot
From: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
package/iozone/Config.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/iozone/Config.in b/package/iozone/Config.in
index 33e12ca..6638b7c 100644
--- a/package/iozone/Config.in
+++ b/package/iozone/Config.in
@@ -2,8 +2,14 @@ config BR2_PACKAGE_IOZONE
bool "iozone"
depends on BR2_USE_MMU # fork()
depends on !BR2_UCLIBC_VERSION_0_9_31 # no pthread_setaffinity_np
+ depends on BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC
help
IOzone is a filesystem benchmark tool.
The benchmark generates and measures a variety of file operations
http://www.iozone.org/
+
+comment "iozone needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_UCLIBC_VERSION_0_9_31
+ depends on !(BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] iozone: depends on threads
2013-11-11 10:20 [Buildroot] [PATCH] iozone: depends on threads spdawson at gmail.com
@ 2013-11-11 10:44 ` Thomas Petazzoni
2013-11-11 10:50 ` Simon Dawson
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-11-11 10:44 UTC (permalink / raw)
To: buildroot
Dear spdawson at gmail.com,
On Mon, 11 Nov 2013 10:20:34 +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
>
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---
> package/iozone/Config.in | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/iozone/Config.in b/package/iozone/Config.in
> index 33e12ca..6638b7c 100644
> --- a/package/iozone/Config.in
> +++ b/package/iozone/Config.in
> @@ -2,8 +2,14 @@ config BR2_PACKAGE_IOZONE
> bool "iozone"
> depends on BR2_USE_MMU # fork()
> depends on !BR2_UCLIBC_VERSION_0_9_31 # no pthread_setaffinity_np
> + depends on BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC
> help
> IOzone is a filesystem benchmark tool.
> The benchmark generates and measures a variety of file operations
>
> http://www.iozone.org/
> +
> +comment "iozone needs a toolchain w/ threads"
> + depends on BR2_USE_MMU
> + depends on !BR2_UCLIBC_VERSION_0_9_31
> + depends on !(BR2_PTHREADS_NATIVE || BR2_TOOLCHAIN_BUILDROOT_EGLIBC || BR2_TOOLCHAIN_BUILDROOT_GLIBC)
No, this will make iozone invisible when building with external
toolchains. See my other reply to the e-mail suggesting to add
BR2_THREADS_NATIVE as a dependency.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] iozone: depends on threads
2013-11-11 10:44 ` Thomas Petazzoni
@ 2013-11-11 10:50 ` Simon Dawson
0 siblings, 0 replies; 3+ messages in thread
From: Simon Dawson @ 2013-11-11 10:50 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On 11 November 2013 10:44, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> No, this will make iozone invisible when building with external
> toolchains. See my other reply to the e-mail suggesting to add
> BR2_THREADS_NATIVE as a dependency.
Yes, I saw that, but too late. This looks to be more involved than I
had assumed it to be...
Simon.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-11 10:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 10:20 [Buildroot] [PATCH] iozone: depends on threads spdawson at gmail.com
2013-11-11 10:44 ` Thomas Petazzoni
2013-11-11 10:50 ` Simon Dawson
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.