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
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ RUN \
apt install -y -V ${quiet} nvidia-cuda-toolkit; \
fi && \
apt clean

# nvidia-cuda-toolkit was removed from Debian forky amd64, so disable the
# CUDA packages via the pkg.apache-arrow.nocuda build profile.See GH-50090.
# Once nvidia-cuda-toolkit is re-added to Debian forky, this can be removed.
ENV DEB_BUILD_PROFILES=pkg.apache-arrow.nocuda
Comment on lines +92 to +95

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as my previous comment. I think that's going to be the notification I was looking for on when to re-enable. I see this as a feature more than as a bug :)

12 changes: 11 additions & 1 deletion dev/tasks/linux-packages/apache-arrow/debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ Build-Depends:
meson,
ninja-build,
nlohmann-json-dev | nlohmann-json3-dev,
nvidia-cuda-toolkit [!arm64],
# nvidia-cuda-toolkit may be unavailable (e.g. removed from Debian forky).
# The pkg.apache-arrow.nocuda build profile (set via DEB_BUILD_PROFILES, e.g.
# in the debian-forky Dockerfile) skips this build dependency and the CUDA
# packages below.
nvidia-cuda-toolkit [!arm64] <!pkg.apache-arrow.nocuda>,
Comment on lines +33 to +37

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's fine ... as we are controlling whether nvidia-cuda-toolkit is installed or not. Also if it starts breaking because nvidia-cuda-toolkit is now installed on debian-forky might be a good sign to remove the build profile so might not be bad to have a "notification"

pkg-config,
protobuf-compiler,
protobuf-compiler-grpc,
Expand Down Expand Up @@ -82,6 +86,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: libarrow-cuda2500
Section: libs
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends:
Expand Down Expand Up @@ -190,6 +195,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: libarrow-cuda-dev
Section: libdevel
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: same
Depends:
${misc:Depends},
Expand Down Expand Up @@ -369,6 +375,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: libarrow-cuda-glib2500
Section: libs
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends:
Expand All @@ -383,6 +390,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: libarrow-cuda-glib-doc
Section: doc
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: foreign
Depends:
${misc:Depends}
Expand All @@ -394,6 +402,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: gir1.2-arrow-cuda-25.0
Section: introspection
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: same
Depends:
${gir:Depends},
Expand All @@ -407,6 +416,7 @@ Description: Apache Arrow is a data processing library for analysis
Package: libarrow-cuda-glib-dev
Section: libdevel
Architecture: @CUDA_ARCHITECTURE@
Build-Profiles: <!pkg.apache-arrow.nocuda>
Multi-Arch: same
Depends:
${misc:Depends},
Expand Down
Loading