From: Nathan Cutler Date: Wed, 24 May 2017 07:58:40 +0000 (+0200) Subject: build/ops: rpm: no rgw Beast frontend on s390x X-Git-Tag: v12.1.0~57^2~3^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12625e1e92aadacda497f4d76f8833a67723e613;p=ceph.git build/ops: rpm: no rgw Beast frontend on s390x Since the Beast frontend uses boost::context which is not supported on s390x. Signed-off-by: Nathan Cutler Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index 36092ae4aff..36297d5a76b 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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}