]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: rpm: no rgw Beast frontend on s390x
authorNathan Cutler <ncutler@suse.com>
Wed, 24 May 2017 07:58:40 +0000 (09:58 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 29 May 2017 20:47:46 +0000 (22:47 +0200)
Since the Beast frontend uses boost::context which is not supported on
s390x.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index 36092ae4affded17b4559434107d22f5e0fbfb73..36297d5a76b918cfacaa84558ee1ddd0fcd1abc4 100644 (file)
@@ -856,6 +856,11 @@ cmake .. \
     $CEPH_EXTRA_CMAKE_ARGS \
 %if 0%{with ocf}
     -DWITH_OCF=ON \
+%endif
+%ifarch aarch64 armv7hl mips mipsel ppc ppc64 ppc64le %{ix86} x86_64
+    -DWITH_RADOSGW_BEAST_FRONTEND=ON \
+%else
+    -DWITH_RADOSGW_BEAST_FRONTEND=OFF \
 %endif
     -DBOOST_J=%{_smp_ncpus}