armnn: ARM NN machine learning SDK.
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 3/3 armnn: ARM NN machine learning SDK.
Arm NN SDK is a set of open-source Linux software and tools that enables machine learning workloads on power-efficient devices. Arm NN takes Caffe, TensorFlow network frameworks, translate them to the internal Arm NN formatand then, through the Compute Library, deploy them efficiently on Cortex-A CPUs.
Signed-off-by Qin Su <[email protected]>
--- meta-arago-extras/recipes-support/armnn/armnn.bb | 47 ++++++++++++++++++ .../armnn/0001-stdlib-issue-work-around.patch | 55 ++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 meta-arago-extras/recipes-support/armnn/armnn.bb create mode 100644 meta-arago-extras/recipes-support/armnn/armnn/0001-stdlib-issue-work-around.patch
meta-arago-extras/recipes-support/armnn/armnn.bb new file +47 -0
@@ -0,0 +1,47 @@ +DESCRIPTION = "Linux software and tools to enable machine learning (Caffe/Tensorflow) workloads on power-efficient devices" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3e14a924c16f7d828b8335a59da64074" + +SRCREV = "4c7098bfeab1ffe1cdc77f6c15548d3e73274746" + +S = "${WORKDIR}/git" + +FILES_${PN}-dev += "{libdir}/cmake/*" + +inherit cmake + +SRC_URI = " \ + git://github.com/ARM-software/armnn.git \ + file://0001-stdlib-issue-work-around.patch \ +" + +DEPENDS = " \ + boost \ + protobuf-tidl \ + stb \ + arm-compute-library \ + armnn-caffe \ + armnn-tensorflow \ +" + +EXTRA_OECMAKE=" \ + -DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF \ + -DARMCOMPUTE_ROOT=${STAGING_DIR_HOST}${datadir}/arm-compute-library \ + -DARMCOMPUTE_BUILD_DIR=${STAGING_DIR_HOST}${datadir}/arm-compute-library/build \ + -DCAFFE_GENERATED_SOURCES=${STAGING_DIR_HOST}${datadir}/armnn-caffe \ + -DTF_GENERATED_SOURCES=${STAGING_DIR_HOST}${datadir}/armnn-tensorflow \ + -DBUILD_CAFFE_PARSER=1 -DBUILD_TF_PARSER=1 \ + -DARMCOMPUTENEON=1 \ + -DBUILD_TESTS=1 -DPROFILING=1 \ + -DTHIRD_PARTY_INCLUDE_DIRS=${STAGING_DIR_HOST}${includedir} \ +" + +CXXFLAGS += "-fopenmp" +LIBS += "-larmpl_lp64_mp" + +INSANE_SKIP_${PN}-dev = "dev-elf" + +PACKAGES =+ "${PN}-bash-completion" +FILES_${PN}-bash-completion += "${bindir}/armnn_completions.sh" +RDEPENDS_${PN}-bash-completion = "bash bash-completion" +
meta-arago-extras/recipes-support/armnn/armnn/0001-stdlib-issue-work-around.patch new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
1.9.1