@@ -30,9 +30,10 @@ Build-Depends:
3030 meson,
3131 ninja-build,
3232 nlohmann-json-dev | nlohmann-json3-dev,
33- # It might be removed from for example Debian-testing.
34- # We fallback to base-files if it fails on amd64 or i386.
35- nvidia-cuda-toolkit [!arm64] | base-files,
33+ # nvidia-cuda-toolkit may be unavailable (e.g. removed from Debian forky).
34+ # apt/build.sh enables the pkg.apache-arrow.nocuda profile in that case so
35+ # this build dependency and the CUDA packages below are skipped.
36+ nvidia-cuda-toolkit [!arm64] <!pkg.apache-arrow.nocuda>,
3637 pkg-config,
3738 protobuf-compiler,
3839 protobuf-compiler-grpc,
@@ -84,6 +85,7 @@ Description: Apache Arrow is a data processing library for analysis
8485Package: libarrow-cuda2500
8586Section: libs
8687Architecture: @CUDA_ARCHITECTURE@
88+ Build-Profiles: <!pkg.apache-arrow.nocuda>
8789Multi-Arch: same
8890Pre-Depends: ${misc:Pre-Depends}
8991Depends:
@@ -192,6 +194,7 @@ Description: Apache Arrow is a data processing library for analysis
192194Package: libarrow-cuda-dev
193195Section: libdevel
194196Architecture: @CUDA_ARCHITECTURE@
197+ Build-Profiles: <!pkg.apache-arrow.nocuda>
195198Multi-Arch: same
196199Depends:
197200 ${misc:Depends},
@@ -371,6 +374,7 @@ Description: Apache Arrow is a data processing library for analysis
371374Package: libarrow-cuda-glib2500
372375Section: libs
373376Architecture: @CUDA_ARCHITECTURE@
377+ Build-Profiles: <!pkg.apache-arrow.nocuda>
374378Multi-Arch: same
375379Pre-Depends: ${misc:Pre-Depends}
376380Depends:
@@ -385,6 +389,7 @@ Description: Apache Arrow is a data processing library for analysis
385389Package: libarrow-cuda-glib-doc
386390Section: doc
387391Architecture: @CUDA_ARCHITECTURE@
392+ Build-Profiles: <!pkg.apache-arrow.nocuda>
388393Multi-Arch: foreign
389394Depends:
390395 ${misc:Depends}
@@ -396,6 +401,7 @@ Description: Apache Arrow is a data processing library for analysis
396401Package: gir1.2-arrow-cuda-25.0
397402Section: introspection
398403Architecture: @CUDA_ARCHITECTURE@
404+ Build-Profiles: <!pkg.apache-arrow.nocuda>
399405Multi-Arch: same
400406Depends:
401407 ${gir:Depends},
@@ -409,6 +415,7 @@ Description: Apache Arrow is a data processing library for analysis
409415Package: libarrow-cuda-glib-dev
410416Section: libdevel
411417Architecture: @CUDA_ARCHITECTURE@
418+ Build-Profiles: <!pkg.apache-arrow.nocuda>
412419Multi-Arch: same
413420Depends:
414421 ${misc:Depends},
0 commit comments