Skip to content

Commit

Permalink
GH-44347: [Packaging][C++] Enable Azure file system for deb/rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 9, 2024
1 parent d4516c5 commit c078f04
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev/tasks/linux-packages/apache-arrow/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ BUILD_TYPE=release
dh $@ --with gir

override_dh_auto_configure:
code_name="$$(. /etc/os-release && \
echo $${VERSION_CODENAME})"; \
if [ "$${code_name}" = "focal" ]; then; \
ARROW_AZURE=OFF; \
else \
ARROW_AZURE=ON; \
fi; \
if dpkg -l nvidia-cuda-toolkit > /dev/null 2>&1; then \
ARROW_CUDA=ON; \
else \
Expand All @@ -24,6 +31,7 @@ override_dh_auto_configure:
--builddirectory=cpp_build \
--buildsystem=cmake+ninja \
-- \
-DARROW_AZURE=$${ARROW_AZURE} \
-DARROW_BUILD_UTILITIES=ON \
-DARROW_COMPUTE=ON \
-DARROW_CSV=ON \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN \
gobject-introspection-devel \
json-devel \
libarchive \
libxml2-devel \
libzstd-devel \
llvm-devel \
llvm-static \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ RUN \
gobject-introspection-devel \
json-devel \
libarchive \
libxml2-devel \
libzstd-devel \
llvm-devel \
llvm-static \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN \
gobject-introspection-devel \
grpc-devel \
grpc-plugins \
libxml2-devel \
libzstd-devel \
llvm-devel \
lz4-devel \
Expand Down
2 changes: 2 additions & 0 deletions dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ BuildRequires: grpc-plugins
%if %{use_gcs} && !%{use_bundled_nlohmann_json}
BuildRequires: json-devel
%endif
BuildRequires: libxml2-devel
BuildRequires: libzstd-devel
BuildRequires: lz4-devel %{lz4_requirement}
BuildRequires: ninja-build
Expand Down Expand Up @@ -161,6 +162,7 @@ Apache Arrow is a data processing library for analysis.
cpp_build_type=release
cd cpp
%arrow_cmake \
-DARROW_AZURE=ON \
-DARROW_BUILD_UTILITIES=ON \
-DARROW_CSV=ON \
-DARROW_DATASET=ON \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN \
glog-devel \
gobject-introspection-devel \
json-devel \
libxml2-devel \
libzstd-devel \
lz4-devel \
ninja-build \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN \
gobject-introspection-devel \
json-devel \
libarchive \
libxml2-devel \
libzstd-devel \
llvm-devel \
llvm-static \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RUN \
gobject-introspection-devel \
json-devel \
libarchive \
libxml2-devel \
libzstd-devel \
llvm-devel \
lz4-devel \
Expand Down

0 comments on commit c078f04

Please sign in to comment.