1
0
mirror of https://github.com/ceph/ceph synced 2025-03-30 07:19:14 +00:00

ceph.spec.in: add system_arrow and system_utf8proc conditions

Signed-off-by: Casey <cbodley@redhat.com>
This commit is contained in:
Casey 2022-02-04 13:15:19 -08:00 committed by Casey Bodley
parent 5da406a4ee
commit 223c5e8dc0

View File

@ -94,6 +94,8 @@
# distros that do _not_ ship cmd2/colorama
%bcond_with cephfs_shell
%endif
%bcond_with system_arrow
%bcond_with system_utf8proc
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
%global weak_deps 1
%endif
@ -277,6 +279,13 @@ BuildRequires: libevent-devel
BuildRequires: libpmem-devel
BuildRequires: libpmemobj-devel
%endif
%if 0%{with system_arrow}
BuildRequires: arrow-devel
BuildRequires: parquet-devel
%endif
%if 0%{with system_utf8proc}
BuildRequires: utf8proc-devel
%endif
%if 0%{with seastar}
BuildRequires: c-ares-devel
BuildRequires: gnutls-devel
@ -1340,7 +1349,12 @@ cmake .. \
%if 0%{?rhel}
-DWITH_FMT_HEADER_ONLY:BOOL=ON \
%endif
%if 0%{with system_arrow}
-DWITH_SYSTEM_ARROW:BOOL=ON \
%endif
%if 0%{without system_utf8proc}
-DWITH_SYSTEM_UTF8PROC:BOOL=OFF \
%endif
-DWITH_GRAFANA:BOOL=ON
%if %{with cmake_verbose_logging}