Skip to content

NobuoTsukamoto/meta-onnxruntime

Repository files navigation

meta-onnxruntime

Yocto layer for ONNX Runtime.

The official website is:

Available BSP

Please note that it is not official support.

BSP ONNX Runtime version Build status
meta-raspberrypi v1.20.1 Bitbake raspberrypi
meta-riscv v1.20.1 Bitbake riscv

matrix

BSP MACHINE Build status
meta-raspberrypi raspberrypi
raspberrypi0
raspberrypi0-wifi
raspberrypi-cm
NG
raspberrypi2
raspberrypi3
raspberrypi4
raspberrypi-cm3
NG
raspberrypi0-2w-64
raspberrypi3-64
raspberrypi4-64
OK
raspberrypi5 OK
meta-riscv qemueriscv32 NG
qemuriscv64 OK

Available recipes

How to

Quick start for the Raspberry Pi AArch64 (core-image-weston)

# Clone repositories and oe-init-build-env
$ git clone git://git.yoctoproject.org/poky.git
$ git clone git://git.yoctoproject.org/meta-raspberrypi
$ git clone git://git.openembedded.org/meta-openembedded
$ git clone https://github.com/NobuoTsukamoto/meta-onnxruntime.git
$ source poky/oe-init-build-env build

# Add layer
$ bitbake-layers add-layer ../meta-openembedded/meta-oe/
$ bitbake-layers add-layer ../meta-openembedded/meta-python/
$ bitbake-layers add-layer ../meta-openembedded/meta-networking/
$ bitbake-layers add-layer ../meta-openembedded/meta-multimedia/
$ bitbake-layers add-layer ../meta-raspberrypi/
$ bitbake-layers add-layer ../meta-onnxruntime/

# Add the package to 'conf/auto.conf' file. 
MACHINE ?= "raspberrypi4-64"
IMAGE_INSTALL:append = " onnxruntime"

# Build
$ bitbake core-image-weston

About

Yocto layer for ONNX Runtime.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published