More architectural differences:
HTTP engine is not built on !x86-64. Ceph no longer exists on any 32 bit platform, so we must ifnarch it for arm and i686. RDMA is not available on armv7.
This commit is contained in:
parent
7d369ff4c8
commit
15b2728417
12
fio.spec
12
fio.spec
@ -50,7 +50,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description engine-dev-dax
|
%description engine-dev-dax
|
||||||
PMDK dev-dax engine for %{name}.
|
PMDK dev-dax engine for %{name}.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package engine-http
|
%package engine-http
|
||||||
Summary: HTTP engine for %{name}.
|
Summary: HTTP engine for %{name}.
|
||||||
@ -58,6 +57,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description engine-http
|
%description engine-http
|
||||||
HTTP engine for %{name}.
|
HTTP engine for %{name}.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package engine-nbd
|
%package engine-nbd
|
||||||
Summary: Network Block Device engine for %{name}.
|
Summary: Network Block Device engine for %{name}.
|
||||||
@ -75,6 +75,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
PMDK pmemblk engine for %{name}.
|
PMDK pmemblk engine for %{name}.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifnarch %{arm} %{ix86}
|
||||||
%package engine-rados
|
%package engine-rados
|
||||||
Summary: Rados engine for %{name}.
|
Summary: Rados engine for %{name}.
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -88,13 +89,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%description engine-rbd
|
%description engine-rbd
|
||||||
Rados Block Device (RBD) engine for %{name}.
|
Rados Block Device (RBD) engine for %{name}.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifnarch %{arm}
|
||||||
%package engine-rdma
|
%package engine-rdma
|
||||||
Summary: RDMA engine for %{name}.
|
Summary: RDMA engine for %{name}.
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description engine-rdma
|
%description engine-rdma
|
||||||
RDMA engine for %{name}.
|
RDMA engine for %{name}.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -133,10 +137,10 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
|
|||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%files engine-dev-dax
|
%files engine-dev-dax
|
||||||
%{_libdir}/fio/libdev-dax.so
|
%{_libdir}/fio/libdev-dax.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files engine-http
|
%files engine-http
|
||||||
%{_libdir}/fio/libhttp.so
|
%{_libdir}/fio/libhttp.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files engine-nbd
|
%files engine-nbd
|
||||||
%{_libdir}/fio/libnbd.so
|
%{_libdir}/fio/libnbd.so
|
||||||
@ -146,14 +150,18 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
|
|||||||
%{_libdir}/fio/libpmemblk.so
|
%{_libdir}/fio/libpmemblk.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifnarch %{arm} %{ix86}
|
||||||
%files engine-rados
|
%files engine-rados
|
||||||
%{_libdir}/fio/librados.so
|
%{_libdir}/fio/librados.so
|
||||||
|
|
||||||
%files engine-rbd
|
%files engine-rbd
|
||||||
%{_libdir}/fio/librbd.so
|
%{_libdir}/fio/librbd.so
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifnarch %{arm}
|
||||||
%files engine-rdma
|
%files engine-rdma
|
||||||
%{_libdir}/fio/librdma.so
|
%{_libdir}/fio/librdma.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-2
|
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-2
|
||||||
|
Loading…
Reference in New Issue
Block a user