Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 229a40a

Browse filesBrowse files
committed
force path manually
1 parent d8d9008 commit 229a40a
Copy full SHA for 229a40a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎travis/build-wheels.sh

Copy file name to clipboardExpand all lines: travis/build-wheels.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export PYTHON_VERSION=${PYTHON_VERSION/./}
77
echo 'PYTHON_VERSION: '$PYTHON_VERSION
88

99
ENABLE_CONTRIB=$(<contrib.enabled)
10+
ninja_path=$(readlink -f ninja)
1011

1112
source travis/install-ninja.sh
1213

@@ -48,7 +49,7 @@ for PYBIN in /opt/python/cp$PYTHON_VERSION*/bin; do
4849

4950
if [[ $PYTHON_VERSION == 2* ]] && [[ $ENABLE_CONTRIB == 1 ]]; then
5051
echo 'Config for Py2'
51-
cmake28 -H"." -B"build" -GNinja -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -DCMAKE_BUILD_TYPE=Release -DBUILD_opencv_python3=OFF -DBUILD_opencv_java=OFF -DBUILD_SHARED_LIBS=OFF \
52+
cmake28 -H"." -B"build" -D"CMAKE_MAKE_PROGRAM:PATH=$ninja_path" -GNinja -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules -DCMAKE_BUILD_TYPE=Release -DBUILD_opencv_python3=OFF -DBUILD_opencv_java=OFF -DBUILD_SHARED_LIBS=OFF \
5253
-DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DWITH_IPP=OFF -DBUILD_DOCS=OFF \
5354
-DPYTHON2INTERP_FOUND=ON -DPYTHON2LIBS_FOUND=ON \
5455
-DPYTHON2_EXECUTABLE=$PYBIN/python \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.