Open PetervdPerk-NXP opened 4 years ago
Hi @PetervdPerk-NXP thanks for the feedback, we will look into that. We are aware that PyArmNN is not cross-compilable currently, that's why there is the whl available for arm64, which is used to create Yocto images. Compilation only works with native compile. This issue is on our TODO list, and it should be resolved before we upgrade to Arm NN 20.05 (here for this repo and for any 20.05+ forks/upstream Arm repo), which will use the Arm NN repo to build PyArmNN, where the whl will no longer be available.
@PetervdPerk-NXP For 5.10 Gatesgarth Yocto we will compile Arm NN (20.08) using the Arm NN recipe, so it will be cross-compilable using Yocto (bitbake), probably not using Yocto SDK.
Trying to cross-compile this package through Yocto cmake it fails on
The paths generated by LazyArmnnFinderExtension are possibly wrong. Resulting in an include with "-R" instead of "-Wl,-R" see: