From 97e00dccc233d1a3079964d9c6a76d6f65861fc3 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 3 Jul 2024 20:54:51 +0900 Subject: [PATCH] ci: fix docker build by adding cuda compat ld load path to fix missing libcuda.so.1 --- docker/Dockerfile.cuda | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile.cuda b/docker/Dockerfile.cuda index 079c38affb15..0c334198bc01 100644 --- a/docker/Dockerfile.cuda +++ b/docker/Dockerfile.cuda @@ -27,6 +27,7 @@ RUN apt-get update && \ # setup rust. RUN curl https://sh.rustup.rs -sSf | bash -s -- --default-toolchain ${RUST_TOOLCHAIN} -y ENV PATH="/root/.cargo/bin:${PATH}" +ENV LD_LIBRARY_PATH="/usr/local/cuda/compat/:${LD_LIBRARY_PATH}" WORKDIR /root/workspace