Skip to content

meson: Fix nix_system_cpu for MIPS and 32 bit ARM systems (backport #13558)#13560

Merged
mergify[bot] merged 1 commit into2.28-maintenancefrom
mergify/bp/2.28-maintenance/pr-13558
Jul 27, 2025
Merged

meson: Fix nix_system_cpu for MIPS and 32 bit ARM systems (backport #13558)#13560
mergify[bot] merged 1 commit into2.28-maintenancefrom
mergify/bp/2.28-maintenance/pr-13558

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 26, 2025

Motivation

Prior patches in 54dc531 and 6db6190 fixed the default system double for i686 and ppc/ppc64. This also patch also covers 32 bit arm and mips. ARM cpu names are taken from host_machine.cpu() for a lack of a better option, but host_machine.cpu_family() is preferred, since that is supposed to be somewhat standard for cross files. Endianness is handled correctly by looking at host_machine.endian().

This also updates the documentation to be up to date to how system cpu is translated from the host_machine specification.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.


This is an automatic backport of pull request #13558 done by [Mergify](https://mergify.com).

Prior patches in 54dc531
and 6db6190 fixed the default
system double for i686 and ppc/ppc64. This also patch also covers
32 bit arm and mips. ARM cpu names are taken from host_machine.cpu()
for a lack of a better option, but host_machine.cpu_family() is
preferred, since that is supposed to be somewhat standard for cross
files. Endianness is handled correctly by looking at host_machine.endian().

This also updates the documentation to be up to date to how system cpu
is translated from the host_machine specification.

(cherry picked from commit 60d124b)
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Jul 26, 2025
@mergify mergify bot requested a review from edolstra as a code owner July 26, 2025 23:29
@mergify mergify bot added merge-queue automatic backport This PR is a backport produced by automation (does not trigger backporting) labels Jul 26, 2025
@mergify mergify bot merged commit bab4e58 into 2.28-maintenance Jul 27, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.28-maintenance/pr-13558 branch July 27, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) documentation merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant