summarylogtreecommitdiffstats
path: root/setupvars.sh
blob: fad7e6e0d88d7f9ab63e970316a0d70b798f7746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[ -z "$INTEL_OPENVINO_DIR" ] && export INTEL_OPENVINO_DIR='/opt/intel/openvino'

export InferenceEngine_DIR="${INTEL_OPENVINO_DIR}/runtime/cmake"
export ngraph_DIR="${INTEL_OPENVINO_DIR}/runtime/cmake"
export OpenVINO_DIR="${INTEL_OPENVINO_DIR}/runtime/cmake"

if command -v python >/dev/null 2>&1
then
    _pyver=$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')
    export PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${INTEL_OPENVINO_DIR}/python/python${_pyver}"
fi

export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${INTEL_OPENVINO_DIR}/runtime/lib/intel64"

export LIBRARY_PATH="${LIBRARY_PATH:+${LIBRARY_PATH}:}${INTEL_OPENVINO_DIR}/runtime/lib/intel64"

export CPATH+=":${INTEL_OPENVINO_DIR}/runtime/include/ie"
export CPATH+=":${INTEL_OPENVINO_DIR}/runtime/include/ngraph"
export CPATH+=":${INTEL_OPENVINO_DIR}/runtime/include/openvino"