From c8e83106ac49a4544542ba8a0d5b5d05a0c13c76 Mon Sep 17 00:00:00 2001 From: Park DongHa Date: Thu, 15 Feb 2024 08:04:00 +0900 Subject: [PATCH] [openvino] Support build with OpenCL v2023.12.14+ (#36724) * [openvino] fix cl_platform_id error * [openvino] update baseline * [openvino] change from PR 22011 * see https://github.com/openvinotoolkit/openvino/pull/22011 * Update ports/openvino/portfile.cmake * [openvino] overwrite version * [openvino] use github.com for patch URL --- ports/openvino/portfile.cmake | 7 +++++++ ports/openvino/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/o-/openvino.json | 5 +++++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ports/openvino/portfile.cmake b/ports/openvino/portfile.cmake index 352b8fb854..b569c2e215 100644 --- a/ports/openvino/portfile.cmake +++ b/ports/openvino/portfile.cmake @@ -1,3 +1,9 @@ +vcpkg_download_distfile(PR_22011_PATH + URLS "https://github.com/openvinotoolkit/openvino/pull/22011.diff?full_index=1" + FILENAME "openvino-pr-22011.patch" + SHA512 f25de88db953a825d0a9a2f8e78664aba44eda2fecfed28ba52045c82aa5f586e42deb51cf23c47553e20c64942510500caca6e904d27ab0782270cd3047e953 +) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO openvinotoolkit/openvino @@ -8,6 +14,7 @@ vcpkg_from_github( 001-disable-tools.patch # https://github.com/openvinotoolkit/openvino/pull/22139 002-conditional-enabling-of-js-api.patch + ${PR_22011_PATH} HEAD_REF master) vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS diff --git a/ports/openvino/vcpkg.json b/ports/openvino/vcpkg.json index 32a23fd565..28da30c86c 100644 --- a/ports/openvino/vcpkg.json +++ b/ports/openvino/vcpkg.json @@ -2,6 +2,7 @@ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "openvino", "version": "2023.3.0", + "port-version": 1, "maintainers": "OpenVINO Developers ", "summary": "This is a port for Open Visual Inference And Optimization toolkit for AI inference", "description": [ diff --git a/versions/baseline.json b/versions/baseline.json index 9c584fa239..00e3168e9f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6462,7 +6462,7 @@ }, "openvino": { "baseline": "2023.3.0", - "port-version": 0 + "port-version": 1 }, "openvpn3": { "baseline": "3.7.0", diff --git a/versions/o-/openvino.json b/versions/o-/openvino.json index 250c292432..ea6e3cb815 100644 --- a/versions/o-/openvino.json +++ b/versions/o-/openvino.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4ec7482b6e2fd81185058d82806cccb53e62270c", + "version": "2023.3.0", + "port-version": 1 + }, { "git-tree": "141f51cbc33785e0e327a425d7aadb59ec9d148d", "version": "2023.3.0",