提交 f9d0c951 编写于 作者: O Olli-Pekka Heinisuo

macOS build time is suddenly fast, trying same settings for linux

上级 327d9ec4
......@@ -55,12 +55,12 @@ matrix:
# - ENABLE_CONTRIB=0
# # Contrib builds for MacOS
- os: osx
language: generic
osx_image: xcode8.2
env:
- MB_PYTHON_VERSION=2.7
- ENABLE_CONTRIB=1
# - os: osx
# language: generic
# osx_image: xcode8.2
# env:
# - MB_PYTHON_VERSION=2.7
# - ENABLE_CONTRIB=1
# - os: osx
# language: generic
# osx_image: xcode8.2
......@@ -140,11 +140,11 @@ matrix:
# - ENABLE_CONTRIB=0
# contrib builds for Linux
# - os: linux
# env:
# - MB_PYTHON_VERSION=2.7
# - DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
# - ENABLE_CONTRIB=1
- os: linux
env:
- MB_PYTHON_VERSION=2.7
- DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- ENABLE_CONTRIB=1
# - os: linux
# env:
# - MB_PYTHON_VERSION=2.7
......
......@@ -72,12 +72,12 @@ for PYBIN in /opt/python/cp$PYTHON_VERSION*/bin; do
if [[ $PYTHON_VERSION == 2* ]]; then
echo 'Build for Py2'
(cd build; make -j2 opencv_python2)
(cd build; make -j8 opencv_python2)
fi
if [[ $PYTHON_VERSION == 3* ]]; then
echo 'Build for Py3'
(cd build; make -j2 opencv_python3)
(cd build; make -j8 opencv_python3)
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册