From: Casey Bodley Date: Fri, 14 Jan 2022 19:54:09 +0000 (-0500) Subject: build: revert arrow package dependency X-Git-Tag: v17.1.0~42^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fb90d0ebdf51f03f973de8361043d1cfb70b17ab;p=ceph.git build: revert arrow package dependency Signed-off-by: Casey Bodley --- diff --git a/ceph.spec.in b/ceph.spec.in index 996a904f6106c..b704da2a31f97 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -24,7 +24,6 @@ %bcond_with zbd %bcond_with cmake_verbose_logging %bcond_without ceph_test_package -%bcond_without arrow_parquet %ifarch s390 %bcond_with tcmalloc %else @@ -233,10 +232,6 @@ BuildRequires: xfsprogs-devel 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 diff --git a/debian/control b/debian/control index 96c902e560a6d..1ae4f171c6e7c 100644 --- a/debian/control +++ b/debian/control @@ -108,8 +108,6 @@ Build-Depends: automake, xmlstarlet , nasm [amd64], zlib1g-dev, - libarrow-dev (>= 4.0.0), - libparquet-dev (>= 4.0.0), Standards-Version: 4.4.0 Package: ceph diff --git a/install-deps.sh b/install-deps.sh index 717e478d600c4..6f4cd178fb985 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -356,28 +356,12 @@ else 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"