Skip to contentSkip to conversation

iozone: depends on threads

PATCH New spdawson at gmail.com 2 participants 3 messages Nov 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iozone: depends on threads

From: Simon Dawson <[email protected]>

---
 package/iozone/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/iozone/Config.in +6 -0
index 33e12ca..6638b7c 100644
@@ -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)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 iozone: depends on threads

Dear spdawson at gmail.com,

Quoted 16 lines · spdawson at gmail.com

From: Simon Dawson <[email protected]>

---
 package/iozone/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/iozone/Config.in +1 -0
index 33e12ca..6638b7c 100644
@@ -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

package/iozone/Config.in config BR2_PACKAGE_IOZONE · line 15

Quoted 10 lines
package/iozone/Config.in +5 -0
 	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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 iozone: depends on threads

Hi Thomas,

Quoted 3 lines · Thomas Petazzoni

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.