mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-07-19 18:39:09 +02:00
tensorflow-lite: Rework OpenVX dependency [YOCIMX-6234]
Align the OpenVX dependency logic with similar logic in deepview-rt, using a simpler RDEPENDS instead of PACKAGECONFIG. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
parent
9d658dac47
commit
cdaf8b9898
|
@ -17,15 +17,6 @@ S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit python3native cmake
|
inherit python3native cmake
|
||||||
|
|
||||||
PACKAGECONFIG_OPENVX = ""
|
|
||||||
PACKAGECONFIG_OPENVX:mx8-nxp-bsp:imxgpu3d = "openvx"
|
|
||||||
PACKAGECONFIG_OPENVX:mx8mm-nxp-bsp = ""
|
|
||||||
PACKAGECONFIG_OPENVX:mx8ulp-nxp-bsp = ""
|
|
||||||
|
|
||||||
PACKAGECONFIG ?= "${PACKAGECONFIG_OPENVX}"
|
|
||||||
|
|
||||||
PACKAGECONFIG[openvx] = ",,,libnn-imx nn-imx"
|
|
||||||
|
|
||||||
EXTRA_OECMAKE = " \
|
EXTRA_OECMAKE = " \
|
||||||
-DCMAKE_SYSROOT=${PKG_CONFIG_SYSROOT_DIR} \
|
-DCMAKE_SYSROOT=${PKG_CONFIG_SYSROOT_DIR} \
|
||||||
-DFETCHCONTENT_FULLY_DISCONNECTED=OFF \
|
-DFETCHCONTENT_FULLY_DISCONNECTED=OFF \
|
||||||
|
@ -107,7 +98,15 @@ RDEPENDS:${PN} = " \
|
||||||
flatbuffers \
|
flatbuffers \
|
||||||
python3 \
|
python3 \
|
||||||
python3-numpy \
|
python3-numpy \
|
||||||
|
${RDEPENDS_OPENVX} \
|
||||||
"
|
"
|
||||||
|
RDEPENDS_OPENVX = ""
|
||||||
|
RDEPENDS_OPENVX:mx8-nxp-bsp:imxgpu = "libnn-imx nn-imx"
|
||||||
|
RDEPENDS_OPENVX:mx8mm-nxp-bsp = ""
|
||||||
|
# The tensorflow-lite implementation for 8ULP uses CPU, and so doesn't
|
||||||
|
# support OpenVX
|
||||||
|
RDEPENDS_OPENVX:mx8ulp-nxp-bsp = ""
|
||||||
|
|
||||||
# TensorFlow and TensorFlow Lite both exports few files, suppress the error
|
# TensorFlow and TensorFlow Lite both exports few files, suppress the error
|
||||||
# SSTATE_ALLOW_OVERLAP_FILES = "${D}${includedir}"
|
# SSTATE_ALLOW_OVERLAP_FILES = "${D}${includedir}"
|
||||||
SSTATE_ALLOW_OVERLAP_FILES = "/"
|
SSTATE_ALLOW_OVERLAP_FILES = "/"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user