Add OpenCV and boost lib

This commit is contained in:
Bensuperpc 2021-05-12 11:18:20 +02:00
parent ca09d54120
commit 08f480baa9
18 changed files with 32 additions and 39 deletions

View File

@ -5,6 +5,7 @@ on:
branches: branches:
- 'master' - 'master'
- 'dev' - 'dev'
- 'update_libs'
paths-ignore: paths-ignore:
- '**/README.md' - '**/README.md'
- '**/README.rst' - '**/README.rst'

View File

@ -23,6 +23,7 @@ RUN cd /tmp/ && git clone https://github.com/opencv/opencv.git && git clone http
-D BUILD_DOCS=ON \ -D BUILD_DOCS=ON \
-D BUILD_PERF_TESTS=OFF \ -D BUILD_PERF_TESTS=OFF \
-D BUILD_TESTS=ON \ -D BUILD_TESTS=ON \
-D BUILD_SHARED_LIBS=OFF \
-D BUILD_NEW_PYTHON_SUPPORT=OFF \ -D BUILD_NEW_PYTHON_SUPPORT=OFF \
-D BUILD_opencv_python3=OFF \ -D BUILD_opencv_python3=OFF \
-D HAVE_opencv_python3=OFF \ -D HAVE_opencv_python3=OFF \

View File

@ -40,4 +40,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm ENV ARCH arm
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm ENV ARCH arm
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm ENV ARCH arm
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm ENV ARCH arm
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm64 ENV ARCH arm64
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH arm64 ENV ARCH arm64
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -34,4 +34,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH mips ENV ARCH mips
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -34,4 +34,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH mips ENV ARCH mips
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -1,39 +0,0 @@
FROM dockcross/base:latest
# This is for 64-bit Little-Endian MIPS devices with hard floating point enabled
#include "common.crosstool"
# The cross-compiling emulator
RUN apt-get update \
&& apt-get install -y \
qemu-user \
qemu-user-static \
&& apt-get clean --yes
# The CROSS_TRIPLE is a configured alias of the "mips64el-unknown-linux-gnu" target.
ENV CROSS_TRIPLE mips64el-unknown-linux-gnu
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \
CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \
CPP=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-cpp \
CXX=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-g++ \
LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld \
FC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gfortran
ENV QEMU_LD_PREFIX "${CROSS_ROOT}/${CROSS_TRIPLE}/sysroot"
ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${QEMU_LD_PREFIX}"
COPY Toolchain.cmake ${CROSS_ROOT}/
ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake
# Linux kernel cross compilation variables
ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH mips
#include "common.lib"
#include "common.label-and-env"

View File

@ -34,4 +34,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH mips ENV ARCH mips
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH powerpc ENV ARCH powerpc
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH powerpc64 ENV ARCH powerpc64
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -36,4 +36,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH powerpc64 ENV ARCH powerpc64
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -34,4 +34,6 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
ENV CROSS_COMPILE ${CROSS_TRIPLE}- ENV CROSS_COMPILE ${CROSS_TRIPLE}-
ENV ARCH s390 ENV ARCH s390
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -22,4 +22,6 @@ COPY ${CROSS_TRIPLE}-noop.sh /usr/bin/${CROSS_TRIPLE}-noop
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/ COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"

View File

@ -43,4 +43,6 @@ ENV ARCH x86
COPY linux32-entrypoint.sh /dockcross/ COPY linux32-entrypoint.sh /dockcross/
ENTRYPOINT ["/dockcross/linux32-entrypoint.sh"] ENTRYPOINT ["/dockcross/linux32-entrypoint.sh"]
#include "common.lib"
#include "common.label-and-env" #include "common.label-and-env"