Skip to content

Make debug flag comparison configurable - #64

Open
matt-sm wants to merge 1 commit into
EngFlow:mainfrom
matt-sm:compare-debug-flags
Open

matt-sm wants to merge 1 commit into
EngFlow:mainfrom
matt-sm:compare-debug-flags

Conversation

@matt-sm

@matt-sm matt-sm commented Nov 30, 2026

Copy link
Copy Markdown

any2bazel by default does not diff gcc -g flags.

For systems where the debug flags already match between cmake and bazel, it would be useful to compare these flags.

This PR adds a new config migration field compare_debug_flags that enables these flags to be diffed.

Side note: I expected any2bazel to pickup that --fission was missing in bazel, and ignoring -g flags prevented this.

@armandomontanez armandomontanez added the Needs CLA This change is not known to be covered by a Contributor License Agreement (CLA) label Nov 30, 2026

@armandomontanez armandomontanez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Happy to take this, but I need a CLA on hand that covers this change before I can move forward.

Please reach out to open-source@engflow.com to start that process.

Comment thread SKILL.md
"dep_map": { "Catch2Main": "catch2_main" },
"exclude_targets": ["benchmark", "some_tool"],
"include_tests": false,
"compare_debug_flags": false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think what we'll want longer term is various categories of sensitivity:

  • Warnings
  • Optimizations
  • Debug info

For an initial migration diff, folks probably don't care about warnings. However, when I was managing migrations, we did care about making sure warning enforcement stayed in sync everywhere.

It's likely this parameter will shift, but if I move it I'll retain backwards compatibility for a bit. I think this is fine as is for today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs CLA This change is not known to be covered by a Contributor License Agreement (CLA)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants