Skip to content

Commit 54ee249

Browse files
culhatskerAbrilRBS
andauthored
openvino: bump to 2025.3.0 and modernized (#28336)
* Update openvino to 2025.3.0 * Add mising config.yml entry for new version * Add higher cmake version required by newer versions, remove older 2025 version * Fix Macos signing --------- Co-authored-by: Abril Rincón Blanco <[email protected]>
1 parent c747cc0 commit 54ee249

File tree

4 files changed

+16
-28
lines changed

4 files changed

+16
-28
lines changed

recipes/openvino/all/conandata.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
sources:
2-
"2025.2.0":
2+
"2025.3.0":
33
"openvino":
4-
url: "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.2.0.tar.gz"
5-
sha256: "15cd5c9beb320a8feadd18bcae40970608de154d5057277281dc53dd7023e383"
4+
url: "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.3.0.tar.gz"
5+
sha256: "969a1b881ad0103dd522b5b09738434261d1158ebb23acb000eafef55268f7be"
66
"arm_compute":
77
url: "https://github.com/ARM-software/ComputeLibrary/archive/refs/tags/v25.03.tar.gz"
88
sha256: "30f83cea6d338a0e33495c33c547b7b720027baff4c3eea66014709fdd52aaac"
99
"arm_kleidiai":
1010
url: "https://github.com/ARM-software/kleidiai/archive/eaf63a6ae9a903fb4fa8a4d004a974995011f444.tar.gz"
1111
sha256: "756fa3040ff23f78a4c3f4c1984a3814d78d302b0b5dc3f0b255322368aefc58"
1212
"onednn_cpu":
13-
url: "https://github.com/openvinotoolkit/oneDNN/archive/793dd02883483385fb7ee3b1af1e4273ce833444.tar.gz"
14-
sha256: "f6ae708f5b78361cab2c544a976d66bd7ccd74b4b6df7710d4d86a383f6916f9"
13+
url: "https://github.com/openvinotoolkit/oneDNN/archive/3d7a6f1d068d8ae08f189aa4baa93d177bc07507.tar.gz"
14+
sha256: "354fa9c44a6feaea06230082e1b9f53ea853836a29e4030320ba8e480357614b"
1515
"mlas":
1616
url: "https://github.com/openvinotoolkit/mlas/archive/d1bc25ec4660cddd87804fcf03b2411b5dfb2e94.tar.gz"
1717
sha256: "0a44fbfd4b13e8609d66ddac4b11a27c90c1074cde5244c91ad197901666004c"
1818
"onednn_gpu":
19-
url: "https://github.com/oneapi-src/oneDNN/archive/c7d59a12849295c8bdf6401b8ea3968f4346ee0c.tar.gz"
20-
sha256: "05bc693ee788768f18397bd235ad40f55261e4336a683469a50072bfddbf9f98"
19+
url: "https://github.com/oneapi-src/oneDNN/archive/8edf6bb60fdaa2769f3cebf44bd2ee94da00744c.tar.gz"
20+
sha256: "c943ab6e9cc6c382de48e76cb62ba075554a89b438876d945e5355e22588e06d"
2121
"2024.6.0":
2222
"openvino":
2323
url: "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2024.6.0.tar.gz"

recipes/openvino/all/conanfile.py

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import os
1010
import yaml
1111

12-
required_conan_version = ">=1.60.0 <2.0 || >=2.0.8"
12+
required_conan_version = ">=2.1"
1313

1414

1515
class OpenvinoConan(ConanFile):
@@ -24,7 +24,6 @@ class OpenvinoConan(ConanFile):
2424
"generative-ai", "llm-inference", "optimize-ai", "deploy-ai")
2525
package_id_non_embed_mode = "patch_mode"
2626
package_type = "library"
27-
short_paths = True
2827
no_copy_source = True
2928

3029
# Binary configuration
@@ -112,10 +111,6 @@ def _gpu_option_available(self):
112111
def _preprocessing_available(self):
113112
return "ade" in self._dependencies_versions
114113

115-
@property
116-
def _is_legacy_one_profile(self):
117-
return not hasattr(self, "settings_build")
118-
119114
def source(self):
120115
get(self, **self.conan_data["sources"][self.version]["openvino"], strip_root=True)
121116
get(self, **self.conan_data["sources"][self.version]["onednn_cpu"], strip_root=True,
@@ -154,13 +149,11 @@ def configure(self):
154149
def build_requirements(self):
155150
if self._target_arm:
156151
self.tool_requires("scons/4.3.0")
157-
if not self._is_legacy_one_profile:
158-
if self._protobuf_required:
159-
self.tool_requires("protobuf/<host_version>")
160-
if self.options.enable_tf_lite_frontend:
161-
self.tool_requires("flatbuffers/<host_version>")
162-
if not self.options.shared:
163-
self.tool_requires("cmake/[>=3.18 <4]")
152+
if self._protobuf_required:
153+
self.tool_requires("protobuf/<host_version>")
154+
if self.options.enable_tf_lite_frontend:
155+
self.tool_requires("flatbuffers/<host_version>")
156+
self.tool_requires("cmake/[>=3.18 <4]")
164157

165158
def requirements(self):
166159
self.requires("onetbb/2021.10.0")
@@ -187,12 +180,6 @@ def layout(self):
187180
cmake_layout(self, src_folder="src")
188181

189182
def generate(self):
190-
env = VirtualBuildEnv(self)
191-
env.generate()
192-
if self._is_legacy_one_profile:
193-
env = VirtualRunEnv(self)
194-
env.generate(scope="build")
195-
196183
deps = CMakeDeps(self)
197184
deps.generate()
198185

@@ -249,6 +236,8 @@ def generate(self):
249236
toolchain.cache_variables["ENABLE_NCC_STYLE"] = False
250237
toolchain.cache_variables["ENABLE_SAMPLES"] = False
251238
toolchain.cache_variables["ENABLE_TEMPLATE"] = False
239+
if self.settings.os == "Macos" and Version(self.version) >= "2025.3.0":
240+
toolchain.cache_variables["OV_FORCE_ADHOC_SIGN"] = True
252241
toolchain.generate()
253242

254243
def validate_build(self):

recipes/openvino/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
versions:
2-
"2025.2.0":
2+
"2025.3.0":
33
folder: "all"
44
"2024.6.0":
55
folder: "all"
66
"2023.3.0":
77
folder: "all"
8-

0 commit comments

Comments
 (0)