Android is sort of Linux underneath and you can install perl & CPAN packages (I use Terminux), but $^O reports android, which then does not let System::Info detect number of cpus etc. A simple addition like this PR gives a reasonable output on my Android (running the MIUI flavor):
The empty CPU name is because my /proc/cpuinfo seems kind of sparse, with the entire entry per processor being:
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm bti
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd46
CPU revision : 3
There were no distro files at all on my /etc/ to add to t/etc/ - so apologies for that, but given how little Google has left of the underlying linux, I guess we can't do much and I thought we can just take this "easy win".
Android is sort of Linux underneath and you can install perl & CPAN packages (I use Terminux), but $^O reports
android
, which then does not let System::Info detect number of cpus etc. A simple addition like this PR gives a reasonable output on my Android (running the MIUI flavor):The empty CPU name is because my
/proc/cpuinfo
seems kind of sparse, with the entire entry per processor being:There were no distro files at all on my
/etc/
to add tot/etc/
- so apologies for that, but given how little Google has left of the underlying linux, I guess we can't do much and I thought we can just take this "easy win".