Skip to content

Commit

Permalink
openvino: fixed GPU plugin with vcpkg's oneDNN (#43630)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Feb 5, 2025
1 parent 31ba06e commit 3de032f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ports/openvino/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ vcpkg_download_distfile(PATCH_008_FIX_LEVEL_ZERO_SYSTEM # https://github.com/ope
FILENAME openvinotoolkit-openvino-65f6ce8c5cd0ac5ae5f64fc1c533cc621475a105.patch
)

vcpkg_download_distfile(PATCH_009_FIX_BUILD_WITH_ONEDNN_FROM_VCPKG # https://github.com/openvinotoolkit/openvino/pull/28816
URLS https://github.com/openvinotoolkit/openvino/commit/d51bcdb17ca9f010e761c1e55198743242c4e186.patch?full_index=1
SHA512 67c03d2e13ebeaa275dbe856a833032d478d125f5e6d19c3475f064bddf74225490960fabf159935a045bceb4f449983badd9e6fb0fc2b96f9faebea20d2f81f
FILENAME openvinotoolkit-openvino-d51bcdb17ca9f010e761c1e55198743242c4e186.patch
)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO openvinotoolkit/openvino
Expand All @@ -56,6 +62,7 @@ vcpkg_from_github(
"${PATCH_006_LEVEL_ZERO_AT_RUNTIME}"
"${PATCH_007_OPENCL_V2024_10_24}"
"${PATCH_008_FIX_LEVEL_ZERO_SYSTEM}"
"${PATCH_009_FIX_BUILD_WITH_ONEDNN_FROM_VCPKG}"
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
1 change: 1 addition & 0 deletions ports/openvino/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "openvino",
"version": "2024.6.0",
"port-version": 1,
"maintainers": "OpenVINO Developers <[email protected]>",
"summary": "This is a port for Open Visual Inference And Optimization toolkit for AI inference",
"description": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6794,7 +6794,7 @@
},
"openvino": {
"baseline": "2024.6.0",
"port-version": 0
"port-version": 1
},
"openvpn3": {
"baseline": "3.10",
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": "d707b42dd04049493abcca891044728188250ed0",
"version": "2024.6.0",
"port-version": 1
},
{
"git-tree": "86228f04cb6e121048ad4b9c588d3f338d826fd2",
"version": "2024.6.0",
Expand Down

0 comments on commit 3de032f

Please sign in to comment.