Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: pintman on April 08, 2018, 07:27:11 AM
-
Hi!
Yesterday I needed a numpy dependency on a pizero (namely for scroll-phat-hd (https://github.com/pimoroni/scroll-phat-hd)). The process took about 2hrs to compile on picore. Maybe a binary package for numpy would be a good decision.
-
Now you've compiled numpy, it would be great if you could submit it ;)
-
I don't know how this can be done. Is there a tutorial or wiki article I can follow?
-
Hi pintman
As a matter of fact, there is:
http://wiki.tinycorelinux.net/wiki:creating_extensions
-
Thanks for the hint. I will have a look into it and check if I can do anything. :)
-
I sent a submission. Hopefully I did all right. :)
-
As I found out, there is a repository of python packages called piwheels (https://www.piwheels.hostedpi.com/index.html) that contains packages compiled for arm. It should be a better solution to use this repository instead.
-
Another update: The numpy version in piwheels has a dependency to fortran a library called libatlas - which is available on the raspberry pi but not in picore. Therefore it cannot be installed via piwheels. However, other binary packages might be usabale.
-
Even if it takes longer, it will still be better to compile natively
-
piwheels packages will be compiled on a Raspberry Pi 3.
-
Natively meaning the software environment in this context, not hw vs cross.
-
So can the ArmV8/Aarch64 version of PiCore be compiled on the 32bit version?