Skip to content

Commit

Permalink
GH-44358: [Packaging][Debian] Add workaround for CUDA include path (#…
Browse files Browse the repository at this point in the history
…44359)

### Rationale for this change

This is not happen on Debian GNU/Linux stable and unstable. This is happen only on Debian GNU/Linux testing. So this may be a temporary problem.

### What changes are included in this PR?

Create a non-existent path manually as a workaround.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* GitHub Issue: #44358

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
kou authored Oct 9, 2024
1 parent 1c601a5 commit 33a4d67
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ RUN \
valac \
zlib1g-dev && \
if apt list | grep '^nvidia-cuda-toolkit/'; then \
apt install -y -V ${quiet} nvidia-cuda-toolkit; \
apt install -y -V ${quiet} nvidia-cuda-toolkit && \
# GH-44358: Workaround for non-existent path error
mkdir -p \
/usr/lib/nvidia-cuda-toolkit/include/$(dpkg-architecture -qDEB_HOST_MULTIARCH); \
fi && \
apt clean

0 comments on commit 33a4d67

Please sign in to comment.