-
Notifications
You must be signed in to change notification settings - Fork 181
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
Update for supporting OpenCV 4.1.1 #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
cmake/projects/OpenCV/hunter.cmake
Outdated
VERSION | ||
"4.1.1" | ||
URL | ||
"https://github.com/kumaakh/hunter-opencv/archive/hunter-4.1.1.zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s get the PR against the cpp-pm fork merged first, and then we can release that and update this link to be the cpp-pm release
|
Yup, like @bkotzz said, let's get cpp-pm/opencv#1 merged and released first and then we can update this PR before merge. Thanks for your contribution! |
Just a note, I have already done OpenCV 4.1.1 in my own hunter fork: I am already using this in production. |
@kumaakh I merged your PR in the OpenCV fork and published a release: https://github.com/cpp-pm/opencv/releases/tag/v4.1.1-p0 Please update this PR to use that release. |
Thanks Rahul, |
@kumaakh we haven’t moved that over yet. You should be able to use the ingenue one for now. I’m assuming you won’t need to make changes to it |
AFAIK We'll have to merge these changes to pkg.opencv branch of "https://github.com/ingenue/hunter" to get clean CI badge |
The main idea is, you need a temporary branch that has the changes you made from this branch, plus the appveyor/Travis changes from the pkg.opencv branch, and push it remotely so that CI runs. You can merge this one into that one, that one into this one, or just checkout those two files into this one. Let me know if you are blocked for any reason |
@bkotzz thanks for clarifying. I submitted a PR to ingenue : ingenue#392 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the Travis jobs errored due to a timeout but the ones that didn't are working. Can you address the small nit? Then we should be good to go.
cmake/projects/OpenCV/hunter.cmake
Outdated
VERSION | ||
"4.1.1-p0" | ||
URL | ||
"https://github.com/cpp-pm/opencv/archive/v4.1.1-p0.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can you remove the extra space before the URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with NIT
Wondering how to avoid the timeouts issue on travis CI. Would a second run work faster due to cacheing ? |
@kumaakh I don't think cache would help, since the OpenCV package didn't complete running but the dependencies should already have been cached. Taking it on faith right now. 🤞 |
* Update for supporting OpenCV 4.1.1 * Update for supporting OpenCV 4.1.1 * sha update * point to https://github.com/cpp-pm/opencv/archive/v4.1.1-p0.tar.gz * OpenCV version 4.1.1-p0 * fix spaces
I've followed this guide
step by step carefully. [Yes]
I've tested this package remotely and have excluded all broken builds except subtask 10 which always exceeds 50 mins limit on travis, since I ran the builds without any caches.
Here is the links to the Travis/AppVeyor:
https://ci.appveyor.com/project/kumaakh/hunter/builds/27270564
https://travis-ci.org/kumaakh/hunter/builds/582500465