From 12927eda4a12f8e752a59f8f4fdc5729327e3d11 Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Tue, 19 Nov 2019 10:11:19 +0200 Subject: [PATCH] rgw/pubsub: disable kafka when building on ubuntu xenial via "run-make-check.sh" Signed-off-by: Yuval Lifshitz --- src/script/run-make.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/script/run-make.sh b/src/script/run-make.sh index afde97274d8b..e40de9ca3af2 100755 --- a/src/script/run-make.sh +++ b/src/script/run-make.sh @@ -41,6 +41,11 @@ function detect_ceph_dev_pkgs() { else cmake_opts+=" -DBOOST_J=$(get_processors)" fi + + source /etc/os-release + if [[ "$ID" == "ubuntu" ]] && [[ "$VERSION" =~ .*Xenial*. ]]; then + cmake_opts+=" -DWITH_RADOSGW_KAFKA_ENDPOINT=NO" + fi echo "$cmake_opts" } -- 2.47.3