ci: avoid cuda docker build timeout by using -j16

This commit is contained in:
leejet 2026-03-15 18:39:29 +08:00
parent acc3bf1fdc
commit 61d8331ef3

View File

@ -11,7 +11,7 @@ COPY . .
ARG CUDACXX=/usr/local/cuda/bin/nvcc
RUN cmake . -B ./build -DSD_CUDA=ON
RUN cmake --build ./build --config Release --parallel
RUN cmake --build ./build --config Release -j$(nproc)
FROM nvidia/cuda:${CUDA_VERSION}-cudnn-runtime-ubuntu${UBUNTU_VERSION} AS runtime