summaryrefslogtreecommitdiff
path: root/guix/cpu.scm
AgeCommit message (Collapse)Author
2023-07-12guix: cpu: Add gcc-architecture->micro-architecture-level mapping.Efraim Flashner
* guix/cpu.scm (gcc-architecture->micro-architecture-level): New variable.
2023-07-12guix: cpu: Refactor cpu->gcc-architecture.Efraim Flashner
* guix/cpu.scm (cpu->gcc-architecture): Refactor to wrap all the x86_64 options inside a common letrec-syntax.
2023-07-12guix: cpu: Rewrite fallback for x86_64 cpu->gcc-architecture.Efraim Flashner
* guix/cpu.scm (cpu->gcc-architecture): Adjust the fallback case to use cpu->micro-architecture-level.
2023-07-12guix: cpu: Add generalized CPU matching.Efraim Flashner
* guix/cpu.scm (cpu->micro-architecture-level): New variable.
2023-05-09gnu: gcc: Update cpu tuning architectures.Efraim Flashner
* gnu/packages/gcc.scm (%gcc-7.5-armhf-micro-architectures): Add missing micro-architecture. (%gcc-10-armhf-micro-architectures): Adjust accordingly. (%gcc-11-aarch64-micro-architectures): Add missing micro-architecture. (%gcc-12-aarch64-micro-architectures, %gcc-12-armhf-micro-architectures, %gcc-12-x86_64-micro-architectures, %gcc-13-aarch64-micro-architectures, %gcc-13-armhf-micro-architectures, %gcc-13-x86_64-micro-architectures): New variables. (gcc-12)[properties]: Use new compiler-cpu-architectures. * guix/cpu.scm (cpu->gcc-architecture): Update entries for Intel, AMD, x86_64 fallback and aarch64.
2022-05-17guix: cpu: Add detection for aarch64 CPUs.Efraim Flashner
* guix/cpu.scm (cpu->gcc-architecture): Add detection logic for aarch64 CPUs.
2022-05-17guix: cpu: Add support for reading armhf/aarch64 CPUs.Efraim Flashner
* 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.
2022-02-13gnu: cpu: Add detection for AMD CPUs.Efraim Flashner
* guix/cpu.scm <cpu>: Add vendor field. (current-cpu): Also fill in the 'vendor' field. (cpu->gcc-architecture): Add detection logic for AMD CPUs.
2022-02-13guix: cpu: Rewrite based on feature flags.Efraim Flashner
* guix/cpu.scm (cpu->gcc-architecture): Rewrite detection based on detected feature flags.
2022-01-01Add (guix cpu).Ludovic Courtès
* guix/cpu.scm: New file. * Makefile.am (MODULES): Add it.