1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

treewide: Fix Meson CPU names for powerpc CPUs

(cherry picked from commit 6db6190002)
This commit is contained in:
OPNA2608 2025-07-21 19:03:49 +02:00 committed by Mergify
parent 13206c132d
commit 6151c36a0b
5 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1,9 @@
nix_system_cpu = {
'ppc64' : 'powerpc64',
'ppc64le' : 'powerpc64le',
'ppc' : 'powerpc',
'ppcle' : 'powerpcle',
}.get(
host_machine.cpu_family(),
host_machine.cpu_family(),
)