mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #41998 from kevinzs2048/arm64-rwl-cache-optional
ceph.spec.in, debian/rules: enable rbd-rwl-cache by default only on x86_64 Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
d3d967794c
13
ceph.spec.in
13
ceph.spec.in
@ -30,15 +30,14 @@
|
||||
%bcond_without tcmalloc
|
||||
%endif
|
||||
%bcond_with system_pmdk
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
%bcond_without selinux
|
||||
%ifarch x86_64 ppc64le
|
||||
%bcond_without rbd_rwl_cache
|
||||
%bcond_without rbd_ssd_cache
|
||||
%ifarch x86_64
|
||||
%bcond_without rbd_rwl_cache
|
||||
%else
|
||||
%bcond_with rbd_rwl_cache
|
||||
%bcond_with rbd_ssd_cache
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
%bcond_without selinux
|
||||
%if 0%{?rhel} >= 8
|
||||
%bcond_with cephfs_java
|
||||
%else
|
||||
@ -60,12 +59,8 @@
|
||||
%bcond_with libradosstriper
|
||||
%ifarch x86_64 aarch64 ppc64le
|
||||
%bcond_without lttng
|
||||
%bcond_without rbd_rwl_cache
|
||||
%bcond_without rbd_ssd_cache
|
||||
%else
|
||||
%bcond_with lttng
|
||||
%bcond_with rbd_rwl_cache
|
||||
%bcond_with rbd_ssd_cache
|
||||
%endif
|
||||
%bcond_with ocf
|
||||
%bcond_with selinux
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -24,7 +24,11 @@ extraopts += -DWITH_CEPHFS_JAVA=ON
|
||||
extraopts += -DWITH_CEPHFS_SHELL=ON
|
||||
extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default
|
||||
extraopts += -DWITH_GRAFANA=ON
|
||||
extraopts += -DWITH_RBD_RWL=ON
|
||||
ifeq ($(DEB_HOST_ARCH), amd64)
|
||||
extraopts += -DWITH_RBD_RWL=ON
|
||||
else
|
||||
extraopts += -DWITH_RBD_RWL=OFF
|
||||
endif
|
||||
extraopts += -DWITH_RBD_SSD_CACHE=ON
|
||||
# assumes that ceph is exmpt from multiarch support, so we override the libdir.
|
||||
extraopts += -DCMAKE_INSTALL_LIBDIR=/usr/lib
|
||||
|
Loading…
Reference in New Issue
Block a user