build: update build settings needed to build OpenCV/GoCV as part of test suite

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans 2018-02-14 13:54:41 +01:00
parent 996c72700e
commit 6780683d97
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ echo $GO_VERSION
FAIL_PACKAGES=()
# OpenCV components to link in CGO compile
OPENCV_LDFLAGS="-lopencv_core -lopencv_videoio -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect -lopencv_video -lopencv_features2d -lopencv_face -lopencv_xfeatures2d"
OPENCV_LDFLAGS="-lopencv_core -lopencv_face -lopencv_videoio -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect -lopencv_features2d -lopencv_video -lopencv_dnn -lopencv_xfeatures2d"
# Use $HOME on Travis
# Use /usr/local on local

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -eux -o pipefail
OPENCV_VERSION=${OPENCV_VERSION:-3.3.1}
OPENCV_VERSION=${OPENCV_VERSION:-3.4.0}
#GRAPHICAL=ON
GRAPHICAL=${GRAPHICAL:-OFF}