Skip to content

Commit

Permalink
#43 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tomskikh committed Jan 12, 2023
1 parent 0f75412 commit 102f511
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/Dockerfile.deepstream-l4t
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ WORKDIR /opencv/build

RUN python3 -m pip install --no-cache-dir 'numpy~=1.22.4'

COPY libs/opencv/savant /opencv/opencv_contrib/modules/savant
#COPY libs/opencv/savant /opencv/opencv_contrib/modules/savant
COPY libs/opencv/savant/CMakeLists.txt /opencv/opencv_contrib/modules/savant/CMakeLists.txt
RUN mkdir -p /opencv/opencv_contrib/modules/savant/include/opencv2 \
&& mkdir -p /opencv/opencv_contrib/modules/savant/src \
&& echo > /opencv/opencv_contrib/modules/savant/include/opencv2/savant.hpp \
&& echo > /opencv/opencv_contrib/modules/savant/src/savant.cpp
RUN --mount=type=cache,target=/tmp/opencv-cache \
cmake \
-D CMAKE_BUILD_TYPE=RELEASE \
Expand All @@ -42,6 +47,9 @@ RUN --mount=type=cache,target=/tmp/opencv-cache \
-D WITH_GSTREAMER=ON \
/opencv/opencv

RUN make -j$(nproc) opencv_core opencv_cudev opencv_cudaimgproc
COPY libs/opencv/savant /opencv/opencv_contrib/modules/savant
RUN make -j$(nproc) opencv_savant
RUN make -j$(nproc) install


Expand Down

0 comments on commit 102f511

Please sign in to comment.