]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
build/ops: deb: no rgw Beast frontend on s390x
authorNathan Cutler <ncutler@suse.com>
Fri, 26 May 2017 05:07:46 +0000 (07:07 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 29 May 2017 20:47:46 +0000 (22:47 +0200)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
debian/rules

index f8fb8117d7456b978b4f6f4e6ff82e1b1209bf91..200b6dbfd8d6d97fdcf2122eb69b8288be9bda20 100755 (executable)
@@ -22,6 +22,13 @@ ifeq ($(DEB_HOST_ARCH), armel)
   extraopts += -DWITH_ATOMIC_OPS=OFF
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH), arm armel armhf arm64 i386 amd64 mips mipsel powerpc ppc64))
+  # beast depends on libboost_context which only support the archs above
+  extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=ON
+else
+  extraopts += -DWITH_RADOSGW_BEAST_FRONTEND=OFF
+endif
+
 %:
        dh $@ --buildsystem=cmake --with javahelper,python2,python3,systemd --parallel