7 releases
0.4.2 | Oct 21, 2022 |
---|---|
0.4.1 | Jul 5, 2022 |
0.4.0 | May 12, 2022 |
0.3.3 | Mar 24, 2022 |
0.3.1 | Apr 26, 2021 |
#260 in Development tools
3,946 downloads per month
Used in 7 crates
(via openvino-sys)
8KB
107 lines
openvino-finder
A utility for locating OpenVINO™ libraries on a host system. It will attempt to find the OpenVINO shared libraries in:
- the
OPENVINO_BUILD_DIR
environment variable (pointed at a locally-built OpenVINO repository) - the
OPENVINO_INSTALL_DIR
environment variable (pointed at the top-level OpenVINO installation, e.g.,/opt/intel/openvino
) - the
INTEL_OPENVINO_DIR
environment variable (same as above; this is set by OpenVINO setup scripts) - the environment's library path (e.g.,
LD_LIBRARY_PATH
in Linux; this is also set by the OpenVINO setup scripts) - OpenVINO's default installation paths for the OS (a best effort attempt)
Use
let path = openvino_finder::find("inference_engine_c_api").unwrap();
lib.rs
:
Provides a mechanism for locating the OpenVINO shared libraries installed on a system.
Dependencies
~85KB