Skip to content

meson: Correctly handle endianness for PowerPC CPU families (backport #13520)#13528

Closed
mergify[bot] wants to merge 1 commit into2.29-maintenancefrom
mergify/bp/2.29-maintenance/pr-13520
Closed

meson: Correctly handle endianness for PowerPC CPU families (backport #13520)#13528
mergify[bot] wants to merge 1 commit into2.29-maintenancefrom
mergify/bp/2.29-maintenance/pr-13520

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 23, 2025

Motivation

I've missed this while reviewing 6db6190. I only built big endian ppc64, so that didn't occur to me.

From meson manual:

Those porting from autotools should note that Meson does not add
endianness to the name of the cpu_family. For example, autotools will
call little endian PPC64 "ppc64le", Meson will not, you must also check
the .endian() value of the machine for this information.

This code should handle that correctly.

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 #13520 done by [Mergify](https://mergify.com).

I've missed this while reviewing 6db6190.
I only built big endian ppc64, so that didn't occur to me.

From meson manual:

> Those porting from autotools should note that Meson does not add
> endianness to the name of the cpu_family. For example, autotools will
> call little endian PPC64 "ppc64le", Meson will not, you must also check
> the .endian() value of the machine for this information.

This code should handle that correctly.

(cherry picked from commit ebd311b)
@mergify mergify bot added the automatic backport This PR is a backport produced by automation (does not trigger backporting) label Jul 23, 2025
@mergify mergify bot requested a review from edolstra as a code owner July 23, 2025 20:36
@mergify mergify bot added merge-queue automatic backport This PR is a backport produced by automation (does not trigger backporting) labels Jul 23, 2025
@edolstra
Copy link
Member

Included in #13540.

@edolstra edolstra closed this Jul 24, 2025
@xokdvium xokdvium deleted the mergify/bp/2.29-maintenance/pr-13520 branch October 7, 2025 21:41
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) merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants