diff --git a/artoolkitplus/cppbuild.sh b/artoolkitplus/cppbuild.sh index 08044f05946..16cc47f92d2 100755 --- a/artoolkitplus/cppbuild.sh +++ b/artoolkitplus/cppbuild.sh @@ -63,6 +63,11 @@ case $PLATFORM in make -j4 make install ;; + linux-mips64el) + CC="$OLDCC -mabi=64" CXX="$OLDCXX -mabi=64" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. + make -j4 + make install + ;; macosx-*) $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. make -j4 diff --git a/chilitags/cppbuild.sh b/chilitags/cppbuild.sh index 7590bb64cbb..f619e7b4c32 100755 --- a/chilitags/cppbuild.sh +++ b/chilitags/cppbuild.sh @@ -76,6 +76,11 @@ case $PLATFORM in make -j4 make install ;; + linux-mips64el) + CXX="g++ -mabi=64 -fPIC" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/ + make -j4 + make install + ;; macosx-*) CXX="clang++ -fPIC" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/ make -j4 diff --git a/fftw/cppbuild.sh b/fftw/cppbuild.sh index 38a65ae3f08..527a7b40f97 100755 --- a/fftw/cppbuild.sh +++ b/fftw/cppbuild.sh @@ -132,6 +132,14 @@ case $PLATFORM in make install-strip fi ;; + linux-mips64el) + ./configure --prefix=$INSTALL_PATH --disable-fortran --enable-shared --enable-threads --with-combined-threads CC="$OLDCC -mabi=64" + make -j $MAKEJ V=0 + make install-strip + ./configure --prefix=$INSTALL_PATH --disable-fortran --enable-shared --enable-threads --with-combined-threads CC="$OLDCC -mabi=64" --enable-float + make -j $MAKEJ V=0 + make install-strip + ;; macosx-*) patch -Np1 < ../../../fftw-macosx.patch ./configure --prefix=$INSTALL_PATH --disable-fortran --enable-shared --enable-threads --with-combined-threads --enable-sse2 diff --git a/flandmark/cppbuild.sh b/flandmark/cppbuild.sh index dc1f412261d..d38b3bd9be4 100755 --- a/flandmark/cppbuild.sh +++ b/flandmark/cppbuild.sh @@ -85,6 +85,12 @@ case $PLATFORM in cp libflandmark/*.h ../include cp libflandmark/*.a ../lib ;; + linux-mips64el) + CC="$OLDCC -mabi=64" CXX="$OLDCXX -mabi=64" $CMAKE -DCMAKE_BUILD_TYPE=Release -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/ + make -j4 flandmark_static + cp libflandmark/*.h ../include + cp libflandmark/*.a ../lib + ;; macosx-*) CXX="g++ -fpermissive" $CMAKE -DCMAKE_BUILD_TYPE=Release -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/ make -j4 flandmark_static diff --git a/openblas/cppbuild.sh b/openblas/cppbuild.sh index 93c3cd90cad..e82c63215b8 100755 --- a/openblas/cppbuild.sh +++ b/openblas/cppbuild.sh @@ -159,6 +159,13 @@ case $PLATFORM in export BINARY=64 export TARGET=POWER5 ;; + linux-mips64el) + export CC="$OLDCC -mabi=64" + export FC="$OLDFC -mabi=64" + export LDFLAGS="-Wl,-z,noexecstack" + export BINARY=64 + export TARGET=MIPS + ;; linux-armhf) export CC="arm-linux-gnueabihf-gcc" export FC="arm-linux-gnueabihf-gfortran"