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
|
||||
PMDK dev-dax engine for %{name}.
|
||||
%endif
|
||||
|
||||
%package engine-http
|
||||
Summary: HTTP engine for %{name}.
|
||||
@ -58,6 +57,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description engine-http
|
||||
HTTP engine for %{name}.
|
||||
%endif
|
||||
|
||||
%package engine-nbd
|
||||
Summary: Network Block Device engine for %{name}.
|
||||
@ -75,6 +75,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
PMDK pmemblk engine for %{name}.
|
||||
%endif
|
||||
|
||||
%ifnarch %{arm} %{ix86}
|
||||
%package engine-rados
|
||||
Summary: Rados engine for %{name}.
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -88,13 +89,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description engine-rbd
|
||||
Rados Block Device (RBD) engine for %{name}.
|
||||
%endif
|
||||
|
||||
%ifnarch %{arm}
|
||||
%package engine-rdma
|
||||
Summary: RDMA engine for %{name}.
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description engine-rdma
|
||||
RDMA engine for %{name}.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -133,10 +137,10 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
|
||||
%ifarch x86_64
|
||||
%files engine-dev-dax
|
||||
%{_libdir}/fio/libdev-dax.so
|
||||
%endif
|
||||
|
||||
%files engine-http
|
||||
%{_libdir}/fio/libhttp.so
|
||||
%endif
|
||||
|
||||
%files engine-nbd
|
||||
%{_libdir}/fio/libnbd.so
|
||||
@ -146,14 +150,18 @@ make install prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir}/fio DESTDIR=$
|
||||
%{_libdir}/fio/libpmemblk.so
|
||||
%endif
|
||||
|
||||
%ifnarch %{arm} %{ix86}
|
||||
%files engine-rados
|
||||
%{_libdir}/fio/librados.so
|
||||
|
||||
%files engine-rbd
|
||||
%{_libdir}/fio/librbd.so
|
||||
%endif
|
||||
|
||||
%ifnarch %{arm}
|
||||
%files engine-rdma
|
||||
%{_libdir}/fio/librdma.so
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 01 2020 Richard W.M. Jones <rjones@redhat.com> 3.23-2
|
||||
|
Loading…
Reference in New Issue
Block a user