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 375b28e

Browse filesBrowse files
committed
add rule for py36 for macOS
1 parent 2e9a115 commit 375b28e
Copy full SHA for 375b28e

File tree

1 file changed

+12
-0
lines changed
Filter options

1 file changed

+12
-0
lines changed

‎travis/build-wheels-osx.sh

Copy file name to clipboardExpand all lines: travis/build-wheels-osx.sh
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ if [[ $PYTHON_VERSION == 35 ]]; then
4949
-D BUILD_EXAMPLES=OFF ..
5050
fi
5151

52+
if [[ $PYTHON_VERSION == 36 ]]; then
53+
echo 'Config for Py36'
54+
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local \
55+
-D BUILD_opencv_python2=OFF -D BUILD_opencv_java=OFF -D BUILD_SHARED_LIBS=OFF \
56+
-D PYTHON3_PACKAGES_PATH=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") \
57+
-D PYTHON3_LIBRARY=/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/bin \
58+
-D PYTHON3_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m \
59+
-D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF \
60+
-D BUILD_EXAMPLES=OFF ..
61+
fi
62+
63+
5264
echo 'Begin build'
5365
make -j4
5466

0 commit comments

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