8000 speedup osx build with ccache and other stuff by sergregory · Pull Request #1 · sergregory/opencv-python · GitHub
[go: up one dir, main page]

Skip to content

speedup osx build with ccache and other stuff #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rework Mac OS build
Use cmake && make to prebuild opencv libraries and use pip to pack them
  • Loading branch information
GArik committed Jan 19, 2021
commit 3a3fbc09fb5b09507f9cfa83e28237f00c1684c7
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
- ENABLE_CONTRIB=0
- ENABLE_HEADLESS=0
- TEST_DEPENDS=numpy==1.17.3
cache:
directories: $HOME/.ccache


# headless builds for MacOS
Expand All @@ -96,6 +98,8 @@ jobs:
- ENABLE_CONTRIB=0
- ENABLE_HEADLESS=1
- TEST_DEPENDS=numpy==1.17.3
cache:
directories: $HOME/.ccache


# Contrib builds for MacOS
Expand All @@ -107,6 +111,8 @@ jobs:
- ENABLE_CONTRIB=1
- ENABLE_HEADLESS=0
- TEST_DEPENDS=numpy==1.17.3
cache:
directories: $HOME/.ccache


# headless contrib builds for MacOS
Expand All @@ -118,6 +124,8 @@ jobs:
- ENABLE_CONTRIB=1
- ENABLE_HEADLESS=1
- TEST_DEPENDS=numpy==1.17.3
cache:
directories: $HOME/.ccache


# default builds for Linux
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools", "wheel", "scikit-build", "cmake", "pip",
"setuptools", "wheel", "pip",
"numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64'",
"numpy==1.19.3; python_version>='3.6' and sys_platform == 'linux' and platform_machine == 'aarch64'",
"numpy==1.14.5; python_version=='3.7' and platform_machine != 'aarch64'",
Expand Down
Loading
0