Skip to content

Commit

Permalink
docker: reserve core when building OpenCV with cuda 11.0 to avoid run…
Browse files Browse the repository at this point in the history
…ning out of space

Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 9, 2023
1 parent 4968862 commit a779e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.opencv-gpu-cuda-11
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN curl -Lo opencv.zip ${OPENCV_FILE} && \
-D OPENCV_DNN_CUDA=ON \
-D CUDA_GENERATION=Auto \
-D OPENCV_GENERATE_PKGCONFIG=ON .. && \
make -j $(nproc --all) && \
make -j $(nproc --all --ignore 2) && \
make preinstall && make install && ldconfig && \
cd / && rm -rf opencv*

Expand Down

0 comments on commit a779e38

Please sign in to comment.