Skip to content

[workflows] Use -g instead of -g1 for the abi tests #133968

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tstellar
Copy link
Collaborator

@tstellar tstellar commented Apr 1, 2025

This should improve the debuginfo and hopefully make the abi tests more accurate. I think -g1 was originally used to save disk space, but the GitHub runners have more disk space now, so it isn't necessary.

This should improve the debuginfo and hopefully make the abi tests
more accurate.  I think -g1 was originally used to save disk space,
but the GitHub runners have more disk space now, so it isn't
necessary.
@tstellar tstellar requested review from tru and nikic April 1, 2025 19:05
@tru
Copy link
Collaborator

tru commented Apr 2, 2025

If we want to save space, can't we use -gz?

Copy link
Contributor

@nikic nikic left a comment

Choose a reason for hiding this comment

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

LGTM, though I wonder whether it might make sense to just switch to the RelWithDebugInfo configuration now, instead of manually specifying CFLAGS? That would use -O2 instead of -Og, but I don't think that should really matter for the purposes of ABI comparison.

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.

3 participants