Skip to content

Commit

Permalink
onnxruntime: modify package dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis BRISSON <alexis.brisson@st.com>
  • Loading branch information
abrSTM authored and vinceab committed Jul 6, 2023
1 parent 795a547 commit 999e0ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes-frameworks/onnxruntime/onnxruntime_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ FILES:${PN}-tools = "${prefix}/local/bin/${PN}-${PVB}/tools/onnxruntime_perf_tes
FILES:${PN}-unit-tests = "${prefix}/local/bin/${PN}-${PVB}/unit-tests/* ${libdir}/libcustom_op_invalid_library.so ${libdir}/libtest_execution_provider.so ${libdir}/libcustom_op_library.so"
FILES:${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}/onnxruntime/*"

# onnxruntime_test_python.py requires Numpy and the Python onnxruntime package.
RDEPENDS:${PN}-tools += "${PYTHON_PN} ${PYTHON_PN}-numpy ${PYTHON_PN}-${PN}"
RDEPENDS:${PYTHON_PN}-${PN} += "${PYTHON_PN}"
# onnxruntime_test_python.py unitary test requires python3-numpy and python3-onnxruntime packages
RDEPENDS:${PN}-unit-tests += "${PYTHON_PN}-${PN}"
RDEPENDS:${PYTHON_PN}-${PN} += "${PYTHON_PN} ${PYTHON_PN}-numpy"

0 comments on commit 999e0ba

Please sign in to comment.