-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[CUDA, CUDNN] fix support clause #23900
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
[CUDA, CUDNN] fix support clause #23900
Conversation
|
didn’t inspect other triplets don’t know what to say not anymore. Anytime i come back for a pr or a fix, I always find the same situation |
Your new supports expression does not allow arm-uwp (arm-uwp doesn't match (windows & x64) | (linux & x64) | (linux & arm64)) so a cascade here is expected. |
|
that one is for cuda, which is not a dependency for opencv on arm-uwp |
|
also, you are confirming that windows does not include uwp, right? because i was thinking about having to write explicitly (windows & x64 & !uwp) |
|
Putting both expressions into CNF to make sure I can compare them: Observations:
uwp implies windows, but you only allowed windows&x64; windows&arm is now blocked too. |
|
ok so i created the cascade, sorry for the rant. I will fix the clause asap |
Ah, then maybe my assumption there was incorrect. We did just stage changes to print out why things are cascaded failures in microsoft/vcpkg-tool#468 which is getting pushed soon (waiting for osx validation build to finish)
It's a fair rant that we haven't been doing a good job making sure things work out OK for ports you care about |
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for cudnn but no changes to version or port version.
-- Version: 7.6.5#4
-- Old SHA: c23360a6cfba2b5c8962c0c106d165ca31224162
-- New SHA: 61fb9e4b24e0a6fb103874beebb41558b281db1f
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
Error: Local changes detected for cuda but no changes to version or port version.
-- Version: 10.1#9
-- Old SHA: 7895738a8a164beddfb53c4c69352b202d8e13e9
-- New SHA: 53d5cb12d1225a1c3a6f50dca0116daefc3ef1aa
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9d9a6f486cc7da7664117a75d01440db0088634a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/c-/cuda.json b/versions/c-/cuda.json
index cb48059..4640802 100644
--- a/versions/c-/cuda.json
+++ b/versions/c-/cuda.json
@@ -1,8 +1,8 @@
{
"versions": [
{
- "git-tree": "45c11499065a604e78914c2c4b2f1a98dddb9edf",
- "version": "10.1",
+ "git-tree": "7895738a8a164beddfb53c4c69352b202d8e13e9",
+ "version-string": "10.1",
"port-version": 9
},
{
diff --git a/versions/c-/cudnn.json b/versions/c-/cudnn.json
index dfe7239..6e6a6fd 100644
--- a/versions/c-/cudnn.json
+++ b/versions/c-/cudnn.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "e72da795c9ffdb748f683a0356e30e8f2216568e",
+ "git-tree": "c23360a6cfba2b5c8962c0c106d165ca31224162",
"version": "7.6.5",
"port-version": 4
},You have modified or added at least one vcpkg.json where a "license" field is missing.
Details
If you feel able to do so, please consider adding a "license" field to the following files:
ports/cuda/vcpkg.jsonports/cudnn/vcpkg.jsonports/opencv2/vcpkg.json
Valid values for the license field can be found in the documentation
|
on the go with just a phone. it’s very difficult to fix the version db, i will do it later |
|
https://dev.azure.com/vcpkg/public/_build/results?buildId=69800 indeed has a preexisting cascade for arm-uwp |
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for cudnn but no changes to version or port version.
-- Version: 7.6.5#4
-- Old SHA: c23360a6cfba2b5c8962c0c106d165ca31224162
-- New SHA: 61fb9e4b24e0a6fb103874beebb41558b281db1f
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
Error: Local changes detected for cuda but no changes to version or port version.
-- Version: 10.1#9
-- Old SHA: 7895738a8a164beddfb53c4c69352b202d8e13e9
-- New SHA: 45c11499065a604e78914c2c4b2f1a98dddb9edf
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9d9a6f486cc7da7664117a75d01440db0088634a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/c-/cuda.json b/versions/c-/cuda.json
index cb48059..4640802 100644
--- a/versions/c-/cuda.json
+++ b/versions/c-/cuda.json
@@ -1,8 +1,8 @@
{
"versions": [
{
- "git-tree": "45c11499065a604e78914c2c4b2f1a98dddb9edf",
- "version": "10.1",
+ "git-tree": "7895738a8a164beddfb53c4c69352b202d8e13e9",
+ "version-string": "10.1",
"port-version": 9
},
{
diff --git a/versions/c-/cudnn.json b/versions/c-/cudnn.json
index dfe7239..6e6a6fd 100644
--- a/versions/c-/cudnn.json
+++ b/versions/c-/cudnn.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "e72da795c9ffdb748f683a0356e30e8f2216568e",
+ "git-tree": "c23360a6cfba2b5c8962c0c106d165ca31224162",
"version": "7.6.5",
"port-version": 4
},You have modified or added at least one vcpkg.json where a "license" field is missing.
Details
If you feel able to do so, please consider adding a "license" field to the following files:
ports/cuda/vcpkg.jsonports/cudnn/vcpkg.jsonports/opencv2/vcpkg.json
Valid values for the license field can be found in the documentation
However the system didn't think it would be a cascade for arm-uwp, so it wasn't a failure created by a supports expression. Did opencv ever work on arm-uwp? |
|
yes, after every update i do i make sure vcpkg-ci-opencv fully builds on all triplets |
|
including some community ones i check by myself (especially single config ones) |
Hmmmm
Hmmm ... to DeveloperCommunity I go |
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.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for cudnn but no changes to version or port version.
-- Version: 7.6.5#4
-- Old SHA: c23360a6cfba2b5c8962c0c106d165ca31224162
-- New SHA: 61fb9e4b24e0a6fb103874beebb41558b281db1f
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
Error: Local changes detected for cuda but no changes to version or port version.
-- Version: 10.1#9
-- Old SHA: 7895738a8a164beddfb53c4c69352b202d8e13e9
-- New SHA: 53d5cb12d1225a1c3a6f50dca0116daefc3ef1aa
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 9d9a6f486cc7da7664117a75d01440db0088634a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/c-/cuda.json b/versions/c-/cuda.json
index 160a11a..4640802 100644
--- a/versions/c-/cuda.json
+++ b/versions/c-/cuda.json
@@ -1,8 +1,8 @@
{
"versions": [
{
- "git-tree": "53d5cb12d1225a1c3a6f50dca0116daefc3ef1aa",
- "version": "10.1",
+ "git-tree": "7895738a8a164beddfb53c4c69352b202d8e13e9",
+ "version-string": "10.1",
"port-version": 9
},
{
diff --git a/versions/c-/cudnn.json b/versions/c-/cudnn.json
index 9d35874..6e6a6fd 100644
--- a/versions/c-/cudnn.json
+++ b/versions/c-/cudnn.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "61fb9e4b24e0a6fb103874beebb41558b281db1f",
+ "git-tree": "c23360a6cfba2b5c8962c0c106d165ca31224162",
"version": "7.6.5",
"port-version": 4
},You have modified or added at least one vcpkg.json where a "license" field is missing.
Details
If you feel able to do so, please consider adding a "license" field to the following files:
ports/cuda/vcpkg.jsonports/cudnn/vcpkg.jsonports/opencv2/vcpkg.json
Valid values for the license field can be found in the documentation
|
Sorry for failed version DB update attempt |
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.
You have modified or added at least one vcpkg.json where a "license" field is missing.
Details
If you feel able to do so, please consider adding a "license" field to the following files:
ports/cuda/vcpkg.jsonports/cudnn/vcpkg.jsonports/opencv2/vcpkg.json
Valid values for the license field can be found in the documentation
|
@BillyONeal Seems okay now, consider to merge this? |
|
pr in itself has always been ok. |
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.
You have modified or added at least one vcpkg.json where a "license" field is missing.
Details
If you feel able to do so, please consider adding a "license" field to the following files:
ports/cuda/vcpkg.jsonports/cudnn/vcpkg.jsonports/opencv2/vcpkg.json
Valid values for the license field can be found in the documentation
|
Cools, thanks @cenit! |
|
libvpx regression baselined in #23011 is still under investigation, i hope. |
I mean, we know what's wrong; unfortunately it isn't clear that there's anything we can do about it since it's Visual Studio itself generating the failure. |
Describe the pull request
What does your PR fix?
Fixes [opencv4] Build error with feature cuda #23850
Which triplets are supported/not supported? Have you updated the CI baseline?
all, yes
Does your PR follow the maintainer guide?
yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?yes