compspec / compspec-go

Prototype compatibility plugin in go for testing compspec descriptive metadata
MIT License
0 stars 0 forks source link

ppcle64 extractor logic needed #29

Closed vsoch closed 6 months ago

vsoch commented 6 months ago

The /proc/cpuinfo looks different and I can't extract it:

processor   : 127
cpu     : POWER9, altivec supported
clock       : 3800.000000MHz
revision    : 2.1 (pvr 004e 1201)

timebase    : 512000000
platform    : PowerNV
model       : 8335-GTC
machine     : PowerNV 8335-GTC
firmware    : OPAL
MMU     : Radix

For the time being I'll mock it. We also need to get the arch here, that isn't coming through either. Who uses power pc?!

Oh right, we do. We do :laughing: :sob:

vsoch commented 6 months ago

Closed with #30. I also made the extraction more lenient within a section - if --allow-fail is set this is not just applied to the top level extractor, but to sections within.