]> git-server-git.apps.pok.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>
Thu, 25 May 2017 01:22:18 +0000 (03:22 +0200)
Since the Beast frontend uses boost::context which is not supported on
s390x.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 84e80b74cf6320d50eea879131a34482f597c366)

ceph.spec.in

index 6d605d394ceb6fa4c8f8218f6df881df04db0e47..7a7ac9edf44405e9e27de7c47b24365977781b4a 100644 (file)
 %bcond_with xio
 %ifarch s390 s390x
 %bcond_with tcmalloc
+%bcond_with rgw_beast
 %else
 %bcond_without tcmalloc
+%bcond_without rgw_beast
 %endif
 %bcond_without lowmem_builder
 %bcond_with minimal_debugging_information
@@ -867,6 +869,11 @@ cmake .. \
     $CEPH_EXTRA_CMAKE_ARGS \
 %if 0%{with ocf}
     -DWITH_OCF=ON \
+%endif
+%if 0%{with rgw_beast}
+    -DWITH_RADOSGW_BEAST_FRONTEND=ON \
+%else
+    -DWITH_RADOSGW_BEAST_FRONTEND=OFF \
 %endif
     -DBOOST_J=%{_smp_ncpus}