mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-16 12:17:57 +00:00
Another attempt.
This commit is contained in:
@@ -38,6 +38,7 @@ install:
|
||||
|
||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev; fi
|
||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev checkinstall; fi
|
||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install libv4l-dev libxvidcore-dev libx264-dev; fi
|
||||
|
||||
# Getting newest boost
|
||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
|
||||
@@ -55,8 +56,10 @@ before_script:
|
||||
- cd opencv
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -D WITH_V4L=ON -D WITH_OPENCL=OFF ..
|
||||
- sudo make -j4 install
|
||||
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF ..
|
||||
- make -j4
|
||||
- sudo make install
|
||||
- sudo ldconfig
|
||||
- cd ../..
|
||||
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user