Skip to content

Commit

Permalink
do_cmake.sh: SUSE builds need WITH_RADOSGW_AMQP_ENDPOINT=OFF
Browse files Browse the repository at this point in the history
Without this patch, "make check" fails on SUSE systems because
WITH_RADOS_AMQP_ENDPOINT defaults to "ON".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Feb 28, 2019
1 parent a65a031 commit 18d2b2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ case "$ID" in
;;
opensuse*|suse|sles)
PYBUILD="3"
WITH_RADOSGW_AMQP_ENDPOINT="OFF"
;;
esac
if [ "$PYBUILD" = "3" ] ; then
Expand All @@ -31,6 +32,9 @@ if type ccache > /dev/null 2>&1 ; then
echo "enabling ccache"
ARGS="$ARGS -DWITH_CCACHE=ON"
fi
if [ -n "$WITH_RADOSGW_AMQP_ENDPOINT" ] ; then
ARGS="$ARGS -DWITH_RADOSGW_AMQP_ENDPOINT=$WITH_RADOSGW_AMQP_ENDPOINT"
fi

mkdir build
cd build
Expand Down

0 comments on commit 18d2b2a

Please sign in to comment.