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

ppc cross compile #471

Merged
merged 63 commits into from
Nov 2, 2017
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5ab5573
add powerpc crosscompile for hdf5
Sep 9, 2017
7a1371e
remove specific gcc version
Sep 9, 2017
9eb462f
fix build
Sep 9, 2017
f332350
should fix it..
Sep 9, 2017
e1fa17a
full opencv chain
Sep 9, 2017
b742aaf
try to fix deps
Sep 10, 2017
5f0b2cb
try to fix deps
Sep 10, 2017
1e420f7
add ffmpeg
Sep 10, 2017
df609ae
attempted fixes
Sep 10, 2017
567c135
attempted fixes
Sep 11, 2017
eeb040c
try fix ffmpeg
Sep 11, 2017
9ace4e0
add back gcc
Sep 12, 2017
682ad61
attempted fix
Sep 12, 2017
08593bd
attempted fix
Sep 12, 2017
2927164
try ffmpeg with ppc specific freetype
Sep 12, 2017
91fc906
more fix
Sep 16, 2017
cd175f7
more fix
Sep 16, 2017
485bf6b
more fix
Sep 16, 2017
04ab50e
switch ppc build to docker
Sep 17, 2017
e24152d
switch ppc build to docker
Sep 17, 2017
f1f700d
switch ppc build to docker
Sep 17, 2017
d3c25b0
update ppc
Sep 17, 2017
c23db75
update ppc
Sep 17, 2017
2844d9e
update ppc
Sep 17, 2017
c6184c8
fix jdk dep
Sep 18, 2017
175abb3
add general deps
Sep 18, 2017
e480aa4
add cmake
Sep 18, 2017
792204b
add more projects
Sep 18, 2017
9d6e266
specify ppc compiler
Sep 18, 2017
69e8825
improve compiler flag pass
Sep 20, 2017
b9c9e86
more fix
Sep 22, 2017
e318179
add all ppc cross
Sep 23, 2017
c85e3e8
more fixes
Sep 23, 2017
36705af
more fix
Sep 23, 2017
8c7335e
more fix
Sep 23, 2017
a16c087
more fix
Sep 23, 2017
fff44ac
fix ffmpeg
Sep 30, 2017
468b40b
merge upstream
Sep 30, 2017
12de081
quick tidy
vb216 Sep 30, 2017
2cf4565
test cache stage
vb216 Oct 14, 2017
9d1f8c4
test cache stage
vb216 Oct 14, 2017
5cfb44e
Merge remote-tracking branch 'upstream/master'
vb216 Oct 14, 2017
7cc48b8
merge upstream
vb216 Oct 14, 2017
954eaee
add pkg-config
vb216 Oct 14, 2017
31f94b2
add ppc64 cuda
vb216 Oct 15, 2017
59e0d64
add ppc64 cuda
vb216 Oct 15, 2017
87de5e4
work on cuda
vb216 Oct 16, 2017
2f22ec7
more cuda
vb216 Oct 17, 2017
2c7c0ac
find maven
vb216 Oct 17, 2017
3efd62a
add apt-utils
vb216 Oct 18, 2017
21065d9
switch ppc to openjdk due to license
vb216 Oct 19, 2017
ba5e29f
hopefully final fix for cuda build
vb216 Oct 21, 2017
2a4d2df
Merge remote-tracking branch 'upstream/master'
vb216 Oct 21, 2017
0247b55
pull upstream
vb216 Oct 21, 2017
f822764
symlink cuda.so stub
Oct 22, 2017
ffd41cc
merge
vb216 Oct 23, 2017
06d4afb
properly merge opencv this time
vb216 Oct 24, 2017
fb27bbe
add cpp11 definition for tesseract
vb216 Oct 29, 2017
0e6627b
final tidy up
vb216 Oct 29, 2017
37f5608
Improve Leptonica and Tesseract builds
saudet Oct 31, 2017
95bf3c5
Clean up builds
saudet Nov 1, 2017
565553b
Fix builds for Leptonica and Tesseract
saudet Nov 2, 2017
fd27d50
Clean up install-ppc.sh
saudet Nov 2, 2017
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
85 changes: 85 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,91 @@ services:

matrix:
include:
- jdk: oraclejdk8
os: linux
env: PROJ=opencv,chilitags,flandmark,openblas,mxnet,hdf5,caffe OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=ffmpeg OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=flycapture OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=libdc1394 OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=libfreenect OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=libfreenect2 OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=librealsense OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=videoinput OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=artoolkitplus OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=mkl OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=fftw OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=gsl OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=llvm OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=leptonica,tesseract OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=cuda OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=tensorflow OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=liquidfun OS=linux-ppc64le
install: true
script: ./ci/install-ppc.sh
- jdk: oraclejdk8
os: linux
env: PROJ=opencv,chilitags,flandmark,openblas,mxnet,hdf5,caffe OS=android-x86
Expand Down
7 changes: 6 additions & 1 deletion artoolkitplus/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ case $PLATFORM in
make install
;;
linux-ppc64le)
CC="$OLDCC -m64" CXX="$OLDCXX -m64" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=..
MACHINE_TYPE=$( uname -m )
if [[ "$MACHINE_TYPE" =~ ppc64 ]]; then
CC="$OLDCC -m64" CXX="$OLDCXX -m64" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=..
else
CC=powerpc64le-linux-gnu-gcc CXX=powerpc64le-linux-gnu-g++ CMAKE_C_COMPILER=$CC CMAKE_CXX_COMPILER=$CXX $CMAKE -DCMAKE_SYSTEM_PROCESSOR=powerpc -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DBUILD_FAKENECT=OFF -DCMAKE_INSTALL_PREFIX=..
fi
make -j4
make install
;;
Expand Down
7 changes: 6 additions & 1 deletion chilitags/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ case $PLATFORM in
make install
;;
linux-ppc64le)
CXX="g++ -m64 -fPIC" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/
MACHINE_TYPE=$( uname -m )
if [[ "$MACHINE_TYPE" =~ ppc64 ]]; then
CXX="g++ -m64 -fPIC" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/
else
CXX="powerpc64le-linux-gnu-g++ -m64 -fPIC" $CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DOpenCV_DIR=$OPENCV_PATH/share/OpenCV/
fi
make -j4
make install
;;
Expand Down
Empty file modified ci/gDownload.py
100755 → 100644
Empty file.
Loading