[packages/ceph] - added bcond for dpdk/spdk
qboosh
qboosh at pld-linux.org
Wed May 27 21:12:29 CEST 2020
commit b1fa8ffe27cdab3fe1cffc76e181450baae9298f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 27 21:13:09 2020 +0200
- added bcond for dpdk/spdk
ceph.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/ceph.spec b/ceph.spec
index d172a06..aaa5f45 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -9,6 +9,7 @@
# Conditional build:
%bcond_without java # Java binding
%bcond_with accelio # Accelio transport support [needs update for internal API changes]
+%bcond_with dpdk # DPDK (Ceph SPDK) support
%bcond_with kinetic # Kinetic storage support [needs update for internal API changes]
%bcond_without rocksdb # RocksDB storage support
%bcond_with zfs # ZFS support [not ready for zfs 0.8.x]
@@ -45,6 +46,8 @@ BuildRequires: automake
%{?with_babeltrace:BuildRequires: babeltrace-devel}
BuildRequires: boost-devel >= 1.34
BuildRequires: curl-devel
+# rte_eal rte_mempool rte_ring
+%{?with_dpdk:BuildRequires: dpdk-devel}
BuildRequires: expat-devel >= 1.95
BuildRequires: fcgi-devel
BuildRequires: gdbm-devel
@@ -82,6 +85,7 @@ BuildRequires: snappy-devel
BuildRequires: sphinx-pdg-2 >= 1.0
BuildRequires: udev-devel
#BuildRequires: virtualenv disabled in python patch
+%{?with_dpdk:BuildRequires: xorg-lib-libpciaccess-devel}
BuildRequires: xfsprogs-devel
%ifarch %{x8664}
BuildRequires: yasm
@@ -268,6 +272,7 @@ CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
%{!?with_lttng:--without-lttng} \
--with-ocf \
--with-radosgw \
+ %{?with_dpdk:--with-spdk} \
--with-system-leveldb \
--with-systemd-unit-dir=%{systemdunitdir} \
%{?with_java:--enable-cephfs-java --with-jdk-dir=%{_jvmdir}/java} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ceph.git/commitdiff/b1fa8ffe27cdab3fe1cffc76e181450baae9298f
More information about the pld-cvs-commit
mailing list