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:
parent
996c72700e
commit
6780683d97
|
@ -12,7 +12,7 @@ echo $GO_VERSION
|
||||||
FAIL_PACKAGES=()
|
FAIL_PACKAGES=()
|
||||||
|
|
||||||
# OpenCV components to link in CGO compile
|
# 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 $HOME on Travis
|
||||||
# Use /usr/local on local
|
# Use /usr/local on local
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux -o pipefail
|
set -eux -o pipefail
|
||||||
|
|
||||||
OPENCV_VERSION=${OPENCV_VERSION:-3.3.1}
|
OPENCV_VERSION=${OPENCV_VERSION:-3.4.0}
|
||||||
|
|
||||||
#GRAPHICAL=ON
|
#GRAPHICAL=ON
|
||||||
GRAPHICAL=${GRAPHICAL:-OFF}
|
GRAPHICAL=${GRAPHICAL:-OFF}
|
||||||
|
|
Loading…
Reference in New Issue