Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Mar 17, 2025

The logic for compiler sanity checks is duplicated across all languages. Improve it across the board by introducing a new helper function that handles cross compilation, logging and exception reporting.

@bonzini bonzini added this to the 1.8 milestone Mar 17, 2025
@bonzini bonzini force-pushed the fix14373 branch 2 times, most recently from d7128f0 to 211a5ac Compare March 17, 2025 14:49
@bonzini bonzini marked this pull request as ready for review March 17, 2025 15:03
@bonzini bonzini requested a review from dcbaker as a code owner March 17, 2025 15:03
@thesamesam
Copy link
Member

I think it looks fine apart from what Eli's mentioned.

@eli-schwartz eli-schwartz linked an issue Apr 2, 2025 that may be closed by this pull request
@bonzini bonzini modified the milestones: 1.8, 1.9 Apr 24, 2025
Particularly if using an exe_wrapper, it can be useful to have output
logged for debugging.

Signed-off-by: Paolo Bonzini <[email protected]>
Avoid reinventing the wheel and instead use a single helper, taking care
of logging and cross compilation.

Fixes: mesonbuild#14373
Signed-off-by: Paolo Bonzini <[email protected]>
@jpakkane jpakkane merged commit 8e564f1 into mesonbuild:master Apr 29, 2025
29 of 31 checks passed
@bonzini bonzini deleted the fix14373 branch May 23, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sanity check output is not available in log

6 participants