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

Sign up
Appearance settings

Commit 0c22275

Browse files
committed
add rule for py36 for macOS [skip appveyor]
1 parent 2e9a115 commit 0c22275

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎travis/build-wheels-osx.sh‎

Lines 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)

AltStyle によって変換されたページ (->オリジナル) /