Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev/release/verify-yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ case "${distribution}-${distribution_version}" in
;;
esac
if [ "$(arch)" = "aarch64" ]; then
have_flight=no
have_gandiva=no
fi

Expand Down
11 changes: 6 additions & 5 deletions dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@
%if %{rhel} >= 9
%define arrow_cmake_builddir %{__cmake_builddir}
%define arrow_cmake %cmake
%define arrow_cmake_build %cmake_build
%define arrow_cmake_build make -C %{arrow_cmake_builddir} %{?_smp_mflags}
%define arrow_cmake_install %cmake_install
%else
%define arrow_cmake_builddir build
%define arrow_cmake %cmake3 -S . -B %{arrow_cmake_builddir}
%define arrow_cmake_build ninja -C %{arrow_cmake_builddir} -v
%define arrow_cmake_install DESTDIR="%{buildroot}" ninja -C %{arrow_cmake_builddir} install
%define arrow_cmake_build make -C %{arrow_cmake_builddir} %{?_smp_mflags}
%define arrow_cmake_install DESTDIR="%{buildroot}" make -C %{arrow_cmake_builddir} install
%endif

%define use_boost (!%{is_amazon_linux})
%define use_flight (%{rhel} >= 8)
# TODO: Enable this on aarch64 too. This causes timeout on Travis CI.
%define use_flight (%{rhel} >= 8 && "%{_arch}" != "aarch64")
%define use_gandiva (%{rhel} >= 8 && "%{_arch}" != "aarch64")
%define use_gcs (%{rhel} >= 8 || %{is_amazon_linux})
%define use_gflags (!%{is_amazon_linux})
Expand Down Expand Up @@ -189,7 +190,7 @@ cd cpp
-DPythonInterp_FIND_VERSION=ON \
-DPythonInterp_FIND_VERSION_MAJOR=3 \
%endif
-GNinja
-G"Unix Makefiles"
%arrow_cmake_build
cd -

Expand Down