do_cmake.sh: disable amqp and rdma on RHEL/CentOS 8

RHEL/CentOS 8 does not offer librabbitmq-devel, libibverbs-devel and
librdmacm-devel at this moment. so disable these features now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-09-28 22:19:08 +08:00
parent 612376a749
commit a118ba0eda

View File

@ -23,6 +23,8 @@ if [ -r /etc/os-release ]; then
MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
if [ "$MAJOR_VER" -ge "8" ] ; then
PYBUILD="3.6"
ARGS+=" -DWITH_RADOSGW_AMQP_ENDPOINT=OFF"
ARGS+=" -DWITH_RDMA=OFF"
fi
;;
opensuse*|suse|sles)