summaryrefslogtreecommitdiff
path: root/guix/cpu.scm
Commit message (Collapse)AuthorAge
* guix: cpu: Add detection for aarch64 CPUs.Efraim Flashner2022-05-17
| | | | | * guix/cpu.scm (cpu->gcc-architecture): Add detection logic for aarch64 CPUs.
* guix: cpu: Add support for reading armhf/aarch64 CPUs.Efraim Flashner2022-05-17
| | | | | | * guix/cpu.scm (current-cpu): Set flags at the beginning of the loop. Read from '/proc/cpuinfo' until the end of the file. Add match options for discovering armhf/aarch64 cpu configurations.
* gnu: cpu: Add detection for AMD CPUs.Efraim Flashner2022-02-13
| | | | | | * guix/cpu.scm <cpu>: Add vendor field. (current-cpu): Also fill in the 'vendor' field. (cpu->gcc-architecture): Add detection logic for AMD CPUs.
* guix: cpu: Rewrite based on feature flags.Efraim Flashner2022-02-13
| | | | | * guix/cpu.scm (cpu->gcc-architecture): Rewrite detection based on detected feature flags.
* Add (guix cpu).Ludovic Courtès2022-01-01
* guix/cpu.scm: New file. * Makefile.am (MODULES): Add it.