%bcond_with zbd
%bcond_with cmake_verbose_logging
%bcond_without ceph_test_package
-%bcond_without arrow_parquet
%ifarch s390
%bcond_with tcmalloc
%else
BuildRequires: xmlstarlet
BuildRequires: nasm
BuildRequires: lua-devel
-%if 0%{with arrow_parquet}
-BuildRequires: arrow-devel >= 4.0.0
-BuildRequires: parquet-devel
-%endif
%if 0%{with seastar} || 0%{with jaeger}
BuildRequires: yaml-cpp-devel >= 0.6
%endif
xmlstarlet <pkg.ceph.check>,
nasm [amd64],
zlib1g-dev,
- libarrow-dev (>= 4.0.0),
- libparquet-dev (>= 4.0.0),
Standards-Version: 4.4.0
Package: ceph
build_profiles+=",pkg.ceph.jaeger"
fi
- if [ "$(arch)" == "x86_64" ]; then
- ARCH="amd64"
- elif [ "$(arch)" == "aarch64" ]; then
- ARCH="arm64"
- fi
-
- if [ -z ${ARCH+x} ]; then
- echo "WARNING: $(arch) is not yet a supported architecture. Can't install arrow."
- else
- wget -qO - https://dist.apache.org/repos/dist/dev/arrow/KEYS | $SUDO apt-key add -
- echo "deb [arch=$ARCH] https://apache.jfrog.io/artifactory/arrow/ubuntu $(lsb_release -sc) main" | $SUDO tee /etc/apt/sources.list.d/arrow.list
- $SUDO apt update
- fi
-
$SUDO env DEBIAN_FRONTEND=noninteractive mk-build-deps \
--build-profiles "${build_profiles#,}" \
--install --remove \
--tool="apt-get -y --no-install-recommends $backports" $control || exit 1
$SUDO env DEBIAN_FRONTEND=noninteractive apt-get -y remove ceph-build-deps
if [ "$control" != "debian/control" ] ; then rm $control; fi
- $SUDO rm -f /etc/apt/sources.list.d/arrow.list
-
;;
centos|fedora|rhel|ol|virtuozzo)
builddepcmd="dnf -y builddep --allowerasing"