Skip to content

Commit

Permalink
add git configuration + gapi added (openvinotoolkit#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvoron authored Mar 29, 2021
1 parent dce274a commit eb80de7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions modules/arm_plugin/Dockerfile.RPi32
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ RUN echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/so
&& \
rm -rf /var/lib/apt/lists/*

RUN git config --global user.name "Your Name" && \
git config --global user.email "[email protected]"

ENV ARCH_NAME arm-linux-gnueabihf
ENV TOOLCHAIN_DEFS arm.toolchain.cmake
COPY armplg_build.sh /armplg_build.sh
Expand Down
3 changes: 3 additions & 0 deletions modules/arm_plugin/Dockerfile.RPi64
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
&& \
rm -rf /var/lib/apt/lists/*

RUN git config --global user.name "Your Name" && \
git config --global user.email "[email protected]"

ENV ARCH_NAME aarch64-linux-gnu
ENV TOOLCHAIN_DEFS arm64.toolchain.cmake
COPY armplg_build.sh /armplg_build.sh
Expand Down
2 changes: 1 addition & 1 deletion modules/arm_plugin/armplg_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mkdir -p $STAGING_DIR
mkdir -p $OPENCV_HOME/build && \
cd $OPENCV_HOME/build && \
PYTHONVER=`ls /usr/include | grep "python3[^m]*$"` && \
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_LIST=imgcodecs,videoio,highgui,python3 \
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_LIST=imgcodecs,videoio,highgui,gapi,python3 \
-DBUILD_opencv_python2=OFF -DBUILD_opencv_python3=ON -DOPENCV_SKIP_PYTHON_LOADER=ON \
-DPYTHON3_LIMITED_API=ON -DPYTHON3_PACKAGES_PATH=$STAGING_DIR/opencv/python \
-DPYTHON3_INCLUDE_PATH=/usr/include/${PYTHONVER}m \
Expand Down

0 comments on commit eb80de7

Please sign in to comment.