All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] fio: add missing libaio dependency
@ 2014-08-14  2:44 Matt Weber
  2014-08-14 13:18 ` Ryan Barnett
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Weber @ 2014-08-14  2:44 UTC (permalink / raw)
  To: buildroot

---
The fio package dlopen()s the libaio library at runtime
when the ioengine function is selected as libaio.

Changes v1 -> v2
 - Renamed patch to not mention bugfix or description
 - Removed build dependency as we only need a config
   dependency for libaio.  Suggested by Thomas P.
 - Added dependencies to Config.in for targets that
   libaio supports building for.  Suggested by Thomas P.
 - Updated comment before select of libaio in Config.in
   Suggested by Thomas P.

Signed-off-by Matt Weber <Matthew.Weber@rockwellcollins.com>

 package/fio/Config.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/fio/Config.in b/package/fio/Config.in
index 8cbbf6c..d70f3f7 100644
--- a/package/fio/Config.in
+++ b/package/fio/Config.in
@@ -13,7 +13,12 @@ config BR2_PACKAGE_FIO
 		!BR2_UCLIBC_VERSION_0_9_31
 	# fio uses fallocate() which becomes fallocate64() while compiling
 	# with BR2_LARGEFILE but fallocate64() is not available on nios2
-	depends on !BR2_nios2
+	depends on \
+		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
+		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
+		BR2_sparc || BR2_x86_64
+	# Runtime dependency: libaio is dlopen()ed by fio
+	select BR2_PACKAGE_LIBAIO
 	help
 	  fio is an I/O tool meant to be used both for benchmark
 	  and stress/hardware verification.
-- 
1.9.1

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

* [Buildroot] [PATCH v2] fio: add missing libaio dependency
  2014-08-14  2:44 [Buildroot] [PATCH v2] fio: add missing libaio dependency Matt Weber
@ 2014-08-14 13:18 ` Ryan Barnett
  2014-08-14 14:11   ` Matthew Weber
  0 siblings, 1 reply; 3+ messages in thread
From: Ryan Barnett @ 2014-08-14 13:18 UTC (permalink / raw)
  To: buildroot

Matt,

On Wed, Aug 13, 2014 at 9:44 PM, Matt Weber
<Matthew.Weber@rockwellcollins.com> wrote:
> ---
> The fio package dlopen()s the libaio library at runtime
> when the ioengine function is selected as libaio.
>

I believe you want to have the '---' here since the commit message
will not be included with the commit log since it is below the '---'.

Thanks,
-Ryan

> Changes v1 -> v2
>  - Renamed patch to not mention bugfix or description
>  - Removed build dependency as we only need a config
>    dependency for libaio.  Suggested by Thomas P.
>  - Added dependencies to Config.in for targets that
>    libaio supports building for.  Suggested by Thomas P.
>  - Updated comment before select of libaio in Config.in
>    Suggested by Thomas P.
>
> Signed-off-by Matt Weber <Matthew.Weber@rockwellcollins.com>
>
>  package/fio/Config.in | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/package/fio/Config.in b/package/fio/Config.in
> index 8cbbf6c..d70f3f7 100644
> --- a/package/fio/Config.in
> +++ b/package/fio/Config.in
> @@ -13,7 +13,12 @@ config BR2_PACKAGE_FIO
>                 !BR2_UCLIBC_VERSION_0_9_31
>         # fio uses fallocate() which becomes fallocate64() while compiling
>         # with BR2_LARGEFILE but fallocate64() is not available on nios2
> -       depends on !BR2_nios2
> +       depends on \
> +               BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
> +               BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
> +               BR2_sparc || BR2_x86_64
> +       # Runtime dependency: libaio is dlopen()ed by fio
> +       select BR2_PACKAGE_LIBAIO
>         help
>           fio is an I/O tool meant to be used both for benchmark
>           and stress/hardware verification.
> --
> 1.9.1

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

* [Buildroot] [PATCH v2] fio: add missing libaio dependency
  2014-08-14 13:18 ` Ryan Barnett
@ 2014-08-14 14:11   ` Matthew Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Weber @ 2014-08-14 14:11 UTC (permalink / raw)
  To: buildroot

Ryan,

On Thu, Aug 14, 2014 at 8:18 AM, Ryan Barnett
<ryan.barnett@rockwellcollins.com> wrote:
> Matt,
>
> On Wed, Aug 13, 2014 at 9:44 PM, Matt Weber
> <Matthew.Weber@rockwellcollins.com> wrote:
>> ---
>> The fio package dlopen()s the libaio library at runtime
>> when the ioengine function is selected as libaio.
>>
>
> I believe you want to have the '---' here since the commit message
> will not be included with the commit log since it is below the '---'.

Yep.

>
> Thanks,
> -Ryan
>
>> Changes v1 -> v2
>>  - Renamed patch to not mention bugfix or description
>>  - Removed build dependency as we only need a config
>>    dependency for libaio.  Suggested by Thomas P.
>>  - Added dependencies to Config.in for targets that
>>    libaio supports building for.  Suggested by Thomas P.
>>  - Updated comment before select of libaio in Config.in
>>    Suggested by Thomas P.
>>
>> Signed-off-by Matt Weber <Matthew.Weber@rockwellcollins.com>
>>
>>  package/fio/Config.in | 7 ++++++-
>>  1 file changed, 6 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/fio/Config.in b/package/fio/Config.in
>> index 8cbbf6c..d70f3f7 100644
>> --- a/package/fio/Config.in
>> +++ b/package/fio/Config.in
>> @@ -13,7 +13,12 @@ config BR2_PACKAGE_FIO
>>                 !BR2_UCLIBC_VERSION_0_9_31
>>         # fio uses fallocate() which becomes fallocate64() while compiling
>>         # with BR2_LARGEFILE but fallocate64() is not available on nios2
>> -       depends on !BR2_nios2
>> +       depends on \
>> +               BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
>> +               BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
>> +               BR2_sparc || BR2_x86_64
>> +       # Runtime dependency: libaio is dlopen()ed by fio
>> +       select BR2_PACKAGE_LIBAIO
>>         help
>>           fio is an I/O tool meant to be used both for benchmark
>>           and stress/hardware verification.
>> --
>> 1.9.1



-- 
Matthew L Weber / Sr Software Engineer / Platform Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
Phone: 319-295-7349
matthew.weber at rockwellcollins.com
www.rockwellcollins.com

Note: Any Export License Required Information and License Restricted
Third Party Intellectual Property (TPIP) content must be encrypted and
sent to matthew.weber at corp.rockwellcollins.com.

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

end of thread, other threads:[~2014-08-14 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-14  2:44 [Buildroot] [PATCH v2] fio: add missing libaio dependency Matt Weber
2014-08-14 13:18 ` Ryan Barnett
2014-08-14 14:11   ` Matthew Weber

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.