Skip to content
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

Enable 2023.0.2 #38

Merged
merged 5 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{% set name = "openvino" %}
{% set version = "2023.0.1" %}
{% set version = "2023.0.2" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
- url: https://github.com/openvinotoolkit/openvino/archive/refs/tags/2023.0.1.tar.gz
sha256: c14cb22f5191a75ea15659c62baceb71333dc9ecf62139ce513f3e81e4544651
- url: https://github.com/openvinotoolkit/openvino/archive/refs/tags/2023.0.2.tar.gz
sha256: 7f09b795f9261e9dc4a49eeec572a07910f90702142ad4ae164ddf214edaa9d4
patches:
- patches/001-win64-find-ocl.patch # [win64]
- patches/002-find-protobuf.patch
- patches/003-lin-arm64-compute-lib.patch # [aarch64]
- patches/004-mha-build-fix.patch # [arm64]
- patches/005-cross-compilation-macos.patch
Expand All @@ -34,7 +35,7 @@ source:
folder: thirdparty/onnx/onnx

build:
number: 3
number: 0
run_exports:
- {{ pin_subpackage('libopenvino', max_pin='x.x.x') }}
- {{ pin_subpackage('libopenvino-intel-cpu-plugin', max_pin='x.x.x') }} # [x86_64]
Expand Down
22 changes: 22 additions & 0 deletions recipe/patches/002-find-protobuf.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index a917a6b78b..19b1ee48de 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -423,15 +423,13 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
if(CMAKE_VERBOSE_MAKEFILE)
set(Protobuf_DEBUG ON)
endif()
- # Note: we also specify 'protobuf' in NAMES because of vcpkg
- set(find_package_protobuf_names Protobuf protobuf)
# try to find newer version first (major is changed)
# see https://protobuf.dev/support/version-support/ and
# https://github.com/protocolbuffers/protobuf/commit/d61f75ff6db36b4f9c0765f131f8edc2f86310fa
- find_package(Protobuf 4.22.0 QUIET NAMES ${find_package_protobuf_names})
+ find_package(Protobuf 4.22.0 QUIET)
if(NOT Protobuf_FOUND)
# otherwise, fallback to existing default
- find_package(Protobuf 3.20.3 REQUIRED NAMES ${find_package_protobuf_names})
+ find_package(Protobuf 3.20.3 REQUIRED)
endif()
set(PROTOC_EXECUTABLE protobuf::protoc)