build:change dependency for librdmacm to version >= 1.0.15
Thanks to Niels for the fix Change-Id: I0954b6f498461dde2b986da9e0e45775175249c9 BUG: 1206744 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/10028 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
parent
0a3420dbd5
commit
8277b02a94
@ -605,6 +605,13 @@ if test "x$enable_ibverbs" != "xno"; then
|
||||
[HAVE_LIBIBVERBS="yes"],
|
||||
[HAVE_LIBIBVERBS="no"])
|
||||
AC_CHECK_LIB([rdmacm], [rdma_create_id], [HAVE_RDMACM="yes"], [HAVE_RDMACM="no"])
|
||||
if test "x$HAVE_RDMACM" = "xyes" ; then
|
||||
AC_CHECK_DECLS(
|
||||
[RDMA_OPTION_ID_REUSEADDR],
|
||||
[],
|
||||
[AC_ERROR([Need at least version 1.0.15 of librdmacm])],
|
||||
[[#include <rdma/rdma_cma.h>]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$enable_ibverbs" = "xyes"; then
|
||||
|
@ -419,7 +419,7 @@ This package provides the base GlusterFS libraries
|
||||
Summary: GlusterFS rdma support for ib-verbs
|
||||
Group: Applications/File
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: librdmacm-devel
|
||||
BuildRequires: librdmacm-devel >= 1.0.15
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description rdma
|
||||
@ -1101,6 +1101,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 28 2015 Mohammed Rafi KC <rkavunga@redhat.com>
|
||||
- Add dependency for librdmacm version >= 1.0.15 (#1206744)
|
||||
|
||||
* Thu Mar 26 2015 Kaleb S. KEITHLEY <kkeithle@redhat.com>
|
||||
- attr dependency (#1174627)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user