Skip to content

Commit

Permalink
Install RDMA-core libraries to compile NFSOverRDMA codes in Ganesha
Browse files Browse the repository at this point in the history
Signed-off-by: Rojin George <[email protected]>
  • Loading branch information
rojingeorge committed Apr 30, 2024
1 parent a33087e commit 54e9352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_scripts/build-tests/build-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ GIT_REPO="https://${GERRIT_HOST}/${GERRIT_PROJECT}"
# enable the Storage SIG for lttng-{tools,ust}-devel
yum -y install centos-release-gluster yum-utils centos-release-ceph epel-release

BASE_PACKAGES="git bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel rpm-build redhat-rpm-config libacl-devel libblkid-devel libcap-devel gperftools-devel gtest-devel"
BASE_PACKAGES="git bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel rpm-build redhat-rpm-config libacl-devel libblkid-devel libcap-devel gperftools-devel gtest-devel rdma-core-devel"
BUILDREQUIRES_EXTRA="libnsl2-devel libnfsidmap-devel libwbclient-devel userspace-rcu-devel boost-devel doxygen xfsprogs-devel lttng-tools-devel lttng-ust-devel"

if [ "${CENTOS_VERSION}" = "7" ]; then
Expand Down
6 changes: 3 additions & 3 deletions build_scripts/code-compilation/client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ do
if [ $once -eq 0 ]
then
if [ "${CENTOS_VERSION}" == "7" ]; then
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libnfsidmap-devel libwbclient-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api libnsl2-devel libcephfs-devel
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libnfsidmap-devel libwbclient-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api libnsl2-devel libcephfs-devel rdma-core-devel
yum clean all & yum clean metadata
yum -y install userspace-rcu-devel
elif [ "${CENTOS_VERSION}" == "8s" ]; then
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api rdma-core-devel
yum -y --enablerepo=powertools install libnfsidmap-devel libwbclient-devel userspace-rcu-devel userspace-rcu libnsl2-devel libcephfs-devel
elif [ "${CENTOS_VERSION}" == "9s" ]; then
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api
yum -y install bison flex cmake gcc-c++ libacl-devel krb5-devel dbus-devel libcap-devel libblkid-devel rpm-build redhat-rpm-config glusterfs-api rdma-core-devel
yum -y --enablerepo=crb install libnfsidmap-devel libwbclient-devel userspace-rcu-devel userspace-rcu libnsl2-devel libcephfs-devel libuuid libuuid-devel
fi
timeout -s SIGKILL 600s git clone --depth=1 https://review.gerrithub.io/ffilz/nfs-ganesha
Expand Down

0 comments on commit 54e9352

Please sign in to comment.