mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 14:29:06 +08:00
[CI] Don't test stuff which does not work due to static python (#38303)
opencv even has `message(WARNING "The python module is currently unsupported on Windows when building static OpenCV libraries")` In general static python builds don't support extensions on windows as such a pyd build against a static python can never be used. What would work -> static extensions linked into a final executable. There is no proper way to deactivate extensions if python was statically build on windows. Two questions remain here: Should python be build dynamically on windows for static triplets so that we get a broader CI test? (maybe add a forbidden feature for only windows&static which allows building the static python instead)
This commit is contained in:
parent
a59ba45e60
commit
fbf65ac0aa
@ -67,7 +67,7 @@
|
||||
"features": [
|
||||
"python"
|
||||
],
|
||||
"platform": "!uwp"
|
||||
"platform": "!uwp & !(windows & static)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -13,7 +13,10 @@
|
||||
"libraw",
|
||||
"opencv",
|
||||
"openjpeg",
|
||||
"pybind11",
|
||||
{
|
||||
"name": "pybind11",
|
||||
"platform": "!(windows & static)"
|
||||
}
|
||||
"tools",
|
||||
"webp"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user