]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: add system_arrow and system_utf8proc conditions
authorCasey <cbodley@redhat.com>
Fri, 4 Feb 2022 21:15:19 +0000 (13:15 -0800)
committerCasey Bodley <cbodley@redhat.com>
Wed, 23 Mar 2022 20:04:35 +0000 (16:04 -0400)
Signed-off-by: Casey <cbodley@redhat.com>
(cherry picked from commit 223c5e8dc03500017acf903077ef322c62c05f7b)

ceph.spec.in

index bc2c9a8e08fc544e1e75d34745a21bcad00acd8b..cb3fa2d3677401eff01c04513197e480689979d9 100644 (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
@@ -1339,7 +1348,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}