Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Nov 4, 2024

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

@@ -156,7 +156,7 @@ def __init__(self, conanfile, backend=None, native=False):
self._conanfile = conanfile
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
2 checks passed
@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