Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.3 KB

meta-python-ai

This Yocto layer contains artificial intelligence / machine learning related Python module recipes.

This Yocto layer is also the continuation and extension of:

Installation

You will need to enable FORTRAN support by adding the following to your local.conf file if you want to cross-compile python3-scipy:

FORTRAN:forcevariable = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"

If you're using a custom distribution, you can alternatively include the two above lines in your distro.conf file.

The recently added python3-llvmlite (https://pypi.org/project/llvmlite/) recipe needs LLVM 14.x but can also build with LLVM 15.x as an experimental change. The llvmlite project is quite slow to adopt newer LLVM versions, so if you need this package and want to build it in Yocto 4.3 or newer, then please use these branches from the forked https://github.com/zboszor/meta-clang until the relevant pull requests are merged: