Skip to content

Commit 61d8331

Browse files
committed
ci: avoid cuda docker build timeout by using -j16
1 parent acc3bf1 commit 61d8331

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile.cuda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ COPY . .
1111

1212
ARG CUDACXX=/usr/local/cuda/bin/nvcc
1313
RUN cmake . -B ./build -DSD_CUDA=ON
14-
RUN cmake --build ./build --config Release --parallel
14+
RUN cmake --build ./build --config Release -j$(nproc)
1515

1616
FROM nvidia/cuda:${CUDA_VERSION}-cudnn-runtime-ubuntu${UBUNTU_VERSION} AS runtime
1717

0 commit comments

Comments
 (0)