Skip to content

fix Meson default cross-build x64->32#17266

Merged
franramirez688 merged 4 commits intoconan-io:develop2from
memsharded:fix/meson_cross_build
Nov 4, 2024
Merged

fix Meson default cross-build x64->32#17266
franramirez688 merged 4 commits intoconan-io:develop2from
memsharded:fix/meson_cross_build

Conversation

@memsharded
Copy link
Member

@memsharded memsharded commented Nov 2, 2024

Changelog: Fix: Meson aligns with other build systems considering x86_64->x86 as cross building.
Docs: Omit

Close #17261

self._native = native
self._is_apple_system = is_apple_os(self._conanfile)
is_cross_building = cross_building(conanfile, skip_x64_x86=True)
is_cross_building = cross_building(conanfile) # x86_64->x86 is considered cross-building
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bug fix

@franramirez688 franramirez688 merged commit 4370115 into conan-io:develop2 Nov 4, 2024
@memsharded memsharded deleted the fix/meson_cross_build branch November 4, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[question] Why do we skip 64/32 cross compilation with meson?

2 participants