]> git.pld-linux.org Git - packages/fio.git/commitdiff
- updated to 2.8
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 Apr 2016 09:27:58 +0000 (11:27 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 Apr 2016 09:27:58 +0000 (11:27 +0200)
- added guasi patch (fix guasi detection and link)

fio-guasi.patch [new file with mode: 0644]
fio.spec

diff --git a/fio-guasi.patch b/fio-guasi.patch
new file mode 100644 (file)
index 0000000..f004bb6
--- /dev/null
@@ -0,0 +1,12 @@
+--- fio-2.8/configure.orig     2016-03-15 17:10:37.000000000 +0100
++++ fio-2.8/configure  2016-04-10 11:00:51.982001795 +0200
+@@ -890,7 +890,8 @@
+   return 0;
+ }
+ EOF
+-if compile_prog "" "" "guasi"; then
++if compile_prog "" "-lguasi" "guasi"; then
++  LIBS="$LIBS -lguasi"
+   guasi="yes"
+ fi
+ echo "GUASI                         $guasi"
index 69683550d0e1711191595f4ed3983b0015f238bd..e5968ce6255abc939242b493e9bb83f77721b252 100644 (file)
--- a/fio.spec
+++ b/fio.spec
@@ -1,7 +1,9 @@
-# TODO: HDFS (--enable-libhdfs, requires also java), guasi, fusion-aw (nvm-primitives)
+# TODO:
+# - HDFS (hadoop, --enable-libhdfs, requires also java)
+# - fusion-aw (nvm-primitives): http://opennvm.github.io/
 #
 # Conditional build:
-%bcond_without ceph            # RDB (CephFS) support
+%bcond_without ceph            # RBD (CephFS) support
 %bcond_without glusterfs       # GFAPI support
 %bcond_without gtk             # GTK+ based GUI (gfio)
 %bcond_without numa            # NUMA support
 Summary:       I/O tool for benchmark and stress/hardware verification
 Summary(pl.UTF-8):     Narzędzie do mierzenia wydajności I/O i sprawdzania sprawności sprzętu
 Name:          fio
-Version:       2.2.7
+Version:       2.8
 Release:       1
 License:       GPL v2+
 Group:         Applications/System
 Source0:       http://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
-# Source0-md5: 0c30299c4e37cd3ae9657c2e4a363092
+# Source0-md5: 7a279f640420800a3e5d74c6237c9b1c
+Patch0:                %{name}-guasi.patch
 URL:           http://git.kernel.dk/?p=fio.git;a=summary
 BuildRequires: bison
 %{?with_ceph:BuildRequires:    ceph-devel}
 BuildRequires: flex
 %{?with_glusterfs:BuildRequires:       glusterfs-devel}
+BuildRequires: guasi-devel
 BuildRequires: libaio-devel
 BuildRequires: libibverbs-devel
 BuildRequires: librdmacm-devel
@@ -77,6 +81,7 @@ na serwerze.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' tools/genfio
 %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' tools/plot/fio2gnuplot
@@ -88,7 +93,7 @@ na serwerze.
        %{!?with_glusterfs:--enable-gfapi} \
        %{?with_gtk:--enable-gfio} \
        %{!?with_numa:--disable-numa} \
-       %{!?with_ceph:--disable-rdb} \
+       %{!?with_ceph:--disable-rbd} \
 
 %{__make} \
        LDFLAGS="%{rpmldflags}" \
@@ -112,6 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/fio-btrace2fio
 %attr(755,root,root) %{_bindir}/fio-dedupe
 %attr(755,root,root) %{_bindir}/fio-genzipf
+%attr(755,root,root) %{_bindir}/fio-verify-state
 %attr(755,root,root) %{_bindir}/fio2gnuplot
 %attr(755,root,root) %{_bindir}/fio_generate_plots
 %attr(755,root,root) %{_bindir}/genfio
This page took 0.106085 seconds and 4 git commands to generate.