File tree Expand file tree Collapse file tree
dev/tasks/linux-packages/apache-arrow/yum Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444
4545# RHEL <= 8 and Amazon Linux 2 don't provide cmake* macros. They provide
4646# cmake3* macros.
47- %define arrow_cmake_builddir \
48- %{?__cmake_builddir:%__cmake_builddir} \
49- %{!?__cmake_builddir:build}
50- %define arrow_cmake \
51- %{?cmake:%cmake} \
52- %{!?cmake:%cmake3 -S . -B build}
53- %define arrow_cmake_build \
54- %{?cmake_build:%cmake_build} \
55- %{!?cmake_build:ninja -C build --verbose}
56- %define arrow_cmake_install \
57- %{?cmake_install:%cmake_install} \
58- %{!?cmake_install:DESTDIR="%{buildroot}" ninja -C build install}
47+ %define arrow_cmake_builddir %{?__cmake_builddir:%__cmake_builddir}%{!?__cmake_builddir:build}
48+ %define arrow_cmake %{?cmake:%cmake}%{!?cmake:%cmake3 -S . -B %{arrow_cmake_builddir}}
49+ %define arrow_cmake_build %{?cmake_build:%cmake_build}%{!?cmake_build:ninja -C %{arrow_cmake_builddir} --verbose}
50+ %define arrow_cmake_install %{?cmake_install:%cmake_install}%{!?cmake_install:DESTDIR="%{buildroot}" ninja -C %{arrow_cmake_builddir} install}
5951
6052%define use_boost (!%{is_amazon_linux})
6153%define use_flight (%{rhel} >= 8)
You can’t perform that action at this time.
0 commit comments