Skip to contentSkip to conversation

New: Make sure fio can compile with libaio support if it the package is installed

Buildroot bugzilla at busybox.net 1 participant 3 messages Apr 15, 2016 – Apr 19, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8851

Bug ID: 8851
Summary: Make sure fio can compile with libaio support if it
the package is installed
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ckhardin at exablox.com
CC: buildroot at uclibc.org
Target Milestone: ---

if libaio is being used, then make fio depend on it so that it gets compiled with aio support.

package/fio/fio.mk +4 -1
index 08fef5f..384be2e 100644
@@ -9,6 +9,10 @@ FIO_SITE = git://git.kernel.dk/fio.git
 FIO_LICENSE = GPLv2 + special obligations
 FIO_LICENSE_FILES = COPYING
 
+ifeq ($(BR2_PACKAGE_LIBAIO),y)
+FIO_DEPENDENCIES += libaio
+endif
+
 define FIO_CONFIGURE_CMDS
        (cd $(@D); ./configure --cc="$(TARGET_CC)"
--extra-cflags="$(TARGET_CFLAGS)")

endef

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 8851] Make sure fio can compile with libaio support if it the package is installed

https://bugs.busybox.net/show_bug.cgi?id=8851

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Thanks, looks good. Could you submit this as a proper patch on our mailing list, so that we can merge it through the usual process? Thanks!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8851] Make sure fio can compile with libaio support if it the package is installed

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8851

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.net/buildroot/commit/?id=71122f537d2ff93f206818c8d91e06f55fe2b5e2,
thanks for your suggestion!

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.