]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
do_cmake.sh: disable amqp and rdma on RHEL/CentOS 8
authorKefu Chai <kchai@redhat.com>
Sat, 28 Sep 2019 14:19:08 +0000 (22:19 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 28 Sep 2019 14:20:35 +0000 (22:20 +0800)
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>
do_cmake.sh

index 569241d6a5905fe7b4fafc66c4ca8428d9f4d7d4..8c15d970242b1b939b336f9f1d4fabf5c737cf17 100755 (executable)
@@ -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)