Skip to content

Commit

Permalink
openvino: migrate to 'platforms' in features (microsoft#33076)
Browse files Browse the repository at this point in the history
* openvino: migrate to 'platforms' in features

* updated version databases
  • Loading branch information
ilya-lavrenov authored Aug 10, 2023
1 parent 3a2694b commit 050db47
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 29 deletions.
42 changes: 14 additions & 28 deletions ports/openvino/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "openvino",
"version-date": "2023-06-11",
"port-version": 4,
"port-version": 5,
"maintainers": "OpenVINO Developers <[email protected]>",
"summary": "This is a port for Open Visual Inference And Optimization toolkit for AI inference",
"description": [
Expand All @@ -24,15 +24,13 @@
"pugixml",
{
"name": "tbb",
"platform": "static | osx",
"version>=": "2021.9.0#2"
},
{
"name": "tbb",
"default-features": false,
"features": [
"hwloc"
{
"name": "hwloc",
"platform": "!static & !osx"
}
],
"platform": "!static & !osx",
"version>=": "2021.9.0#2"
},
{
Expand All @@ -56,7 +54,14 @@
"default-features": [
"auto",
"auto-batch",
"default-features",
{
"name": "cpu",
"platform": "!(windows & arm)"
},
{
"name": "gpu",
"platform": "x64 & !(osx | uwp) & !static"
},
"hetero",
"ir",
"onnx",
Expand All @@ -76,25 +81,6 @@
"description": "Enables CPU plugin for inference",
"supports": "!(windows & arm)"
},
"default-features": {
"description": "Enables all default features",
"dependencies": [
{
"name": "openvino",
"features": [
"cpu"
],
"platform": "!(windows & arm)"
},
{
"name": "openvino",
"features": [
"gpu"
],
"platform": "x64 & !(osx | uwp) & !static"
}
]
},
"gpu": {
"description": "Enables GPU plugin for inference",
"supports": "x64 & !(osx | uwp) & !static",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6126,7 +6126,7 @@
},
"openvino": {
"baseline": "2023-06-11",
"port-version": 4
"port-version": 5
},
"openvpn3": {
"baseline": "3.7.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openvino.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7737d9d905aa9a31e47e32abf5ef420bd1446def",
"version-date": "2023-06-11",
"port-version": 5
},
{
"git-tree": "a27f3d63ace7db21e84b4e42eef2ab776a6dcb69",
"version-date": "2023-06-11",
Expand Down

0 comments on commit 050db47

Please sign in to comment.