bug#74731: guix/cpu should parse /sys/devices/system/cpu/modalias

2024-12-10 Thread Efraim Flashner
On Mon, Dec 09, 2024 at 06:37:22PM +0100, Ludovic Courtès wrote: > Hello, > > Efraim Flashner skribis: > > > I saw a post by Marcan¹ of Asahi Linux the other day about not parsing > > /proc/cpuinfo and remembered that's what we're doing in (guix cpu). > > I believe it initially mimicked what GC

bug#74731: guix/cpu should parse /sys/devices/system/cpu/modalias

2024-12-09 Thread Ludovic Courtès
Hello, Efraim Flashner skribis: > I saw a post by Marcan¹ of Asahi Linux the other day about not parsing > /proc/cpuinfo and remembered that's what we're doing in (guix cpu). I believe it initially mimicked what GCC does for ‘-march=native’, but it does seem to be less exhaustive than /sys/devi

bug#74731: guix/cpu should parse /sys/devices/system/cpu/modalias

2024-12-07 Thread Efraim Flashner
I saw a post by Marcan¹ of Asahi Linux the other day about not parsing /proc/cpuinfo and remembered that's what we're doing in (guix cpu). I've included a couple of dumps below and some notes regarding future implementation: // My machine (ins)efraim@3900XT ~$ cat /sys/devices/system/cpu/modalias