Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build for linux-mips64el to presets for ARToolKitPlus, Chilitags, FFTW, flandmark and OpenBLAS. #637

Merged
merged 1 commit into from
Oct 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions artoolkitplus/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions chilitags/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions fftw/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions flandmark/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions openblas/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down