This is continuation of work from previous release that did not create 
nativesdk artifacts properly.
Pytorch GLOW xNN compiler allows Ahead-of-Time compilation of neural network 
models into CPU object file (for target architecture) using LLVM.
This requires LLVM compiler version 7 or later. Now, the 2020LTS LLVM candidate 
from oe-core master branch is imported, to avoid unnecessary future upgrades 
(LLVM8.0.1 version).
Also, there are several native tools that are part of GLOW project that need to 
be compiled using CLANG/LLVM compiler (from branch 8.0), that is separately 
pulled in for that
sole purpose (since oe-core does not include CLANG compiler).
Natively compiled tools are used for further building of nativesdk GLOW package 
which includes single AOT tool, image-classifier, that is deployed in 
linux-devkit.
End user could use this tool to compile its own xNN model into ARMv7 object 
file and link with its application. An example, demo-glow, is provided in top 
level Makefile and example-application.
Small, well known mnist xNN model and several test images, are included in the 
filesystem.


Djordje Senicic (5):
  mesa,llvm,meson: Update llvm to 8.0.1 plus define and use LLVM version
    globally
  clang8-native: llvm and clang used only for compilation of native
    tools for glow compiler
  glow: Address devkit related RPATH issue to point to devkit shared
    libraries instead of host native
  demo-glow: Restore in top-level makefile examples after recipe cleanup
  packagegroup-arago-tisdk: Include xNN glow based compiler tool into
    devkit, and demo-glow example

 recipes-apps/demo-glow/demo-glow.bb           |  16 +-
 recipes-apps/demo-glow/files/Makefile.build   |   3 +-
 ...sdk-packagegroup-arago-tisdk-host.bbappend |   4 +
 ...group-arago-tisdk-addons-sdk-host.bbappend |  11 ++
 ...oup-arago-tisdk-addons-sdk-target.bbappend |   6 +
 .../packagegroup-arago-tisdk-addons.bbappend  |   7 +
 ...{llvm-glow_git.bb => clang8-native_git.bb} |  16 +-
 ...p-compilation-of-native-helper-tools.patch |  99 ++++++++++
 recipes-devtools/glow/glow_git.bb             |  62 ++++--
 ...ryInfo-Undefine-libc-functions-if-th.patch |  92 +++++++++
 ...-llvm-allow-env-override-of-exe-path.patch |  38 ++++
 recipes-devtools/glow/llvm8_git.bb            | 180 ++++++++++++++++++
 .../ti-tisdk-makefile_1.0.bbappend            |   4 +
 13 files changed, 508 insertions(+), 30 deletions(-)
 create mode 100644 
recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bbappend
 rename recipes-devtools/glow/{llvm-glow_git.bb => clang8-native_git.bb} (51%)
 create mode 100644 
recipes-devtools/glow/files/0002-Skip-compilation-of-native-helper-tools.patch
 create mode 100644 
recipes-devtools/glow/llvm8/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
 create mode 100644 
recipes-devtools/glow/llvm8/0007-llvm-allow-env-override-of-exe-path.patch
 create mode 100644 recipes-devtools/glow/llvm8_git.bb

-- 
2.17.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to