Open nandra opened 3 years ago
Same as #15 just for master
Original native recipe doesn't build on dunfell. I fails with some strange error which was caused by some cross-compilation flags. I basically extracted it and drop one flag + setup proper DEPENDS native flags.
You can use overrides to set variables differently based on whether or not you're building the native package:
DEPENDS_class-native = "..."
FARCH = "${TUNE_CCARGS}"
FARCH_class-native = ""
export FARCH
This is preferable to having two separate recipes. There are plenty of examples of this in the poky repo and in the meta-openembedded layer.
Yes I know. I was in hurry to compile scikit-learn so this was the first shot which works. Thanks for comments I'll give a try what was suggested and post an update. :+1:
@gpanders strange it seems that yesterday I have scipy-native somehow cached because today wiped out caches and it's failing. So I suggest to revert #15 or can someone test it pls? If it fails pls revert. Thanks.
Signed-off-by: Marek Belisko marek.belisko@gmail.com