[Buildroot] [PATCH] iozone: depends on threads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 11 10:44:28 UTC 2013


Dear spdawson at gmail.com,

On Mon, 11 Nov 2013 10:20:34 +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson at gmail.com>
> 
> Signed-off-by: Simon Dawson <spdawson at 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


More information about the buildroot mailing list