Skip to content

Commit 80365cf

Browse files
authored
[openvino-finder] Update search paths to include all supported arch (#176)
Update search paths to include all supported arch Signed-off-by: Nicolas Bigaouette <[email protected]>
1 parent c0085bc commit 80365cf

File tree

1 file changed

+19
-1
lines changed
  • crates/openvino-finder/src

1 file changed

+19
-1
lines changed

crates/openvino-finder/src/lib.rs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,17 +241,35 @@ cfg_if! {
241241
const KNOWN_INSTALLATION_SUBDIRECTORIES: &[&str] = &[
242242
"runtime/lib/intel64/Release",
243243
"runtime/lib/intel64",
244-
"runtime/3rdparty/tbb/lib",
244+
"runtime/lib/arm64/Release",
245+
"runtime/lib/arm64",
246+
"runtime/lib/aarch64/Release",
247+
"runtime/lib/aarch64",
248+
"runtime/lib/armv7l",
249+
"runtime/lib/armv7l/Release",
245250
"runtime/bin/intel64/Release",
246251
"runtime/bin/intel64",
252+
"runtime/bin/arm64/Release",
253+
"runtime/bin/arm64",
247254
"runtime/3rdparty/tbb/bin",
255+
"runtime/3rdparty/tbb/lib",
248256
];
249257

250258
const KNOWN_BUILD_SUBDIRECTORIES: &[&str] = &[
251259
"bin/intel64/Debug/lib",
252260
"bin/intel64/Debug",
253261
"bin/intel64/Release/lib",
262+
"bin/arm64/Debug/lib",
263+
"bin/arm64/Debug",
264+
"bin/arm64/Release/lib",
265+
"bin/aarch64/Debug/lib",
266+
"bin/aarch64/Debug",
267+
"bin/aarch64/Release/lib",
268+
"bin/armv7l/Debug/lib",
269+
"bin/armv7l/Debug",
270+
"bin/armv7l/Release/lib",
254271
"temp/tbb/lib",
272+
"temp/tbb/bin",
255273
];
256274

257275
/// Find the path to the `plugins.xml` configuration file.

0 commit comments

Comments
 (0)