Skip to content

ipo off for debug builds - #3113

Merged
galabovaa merged 2 commits into
latestfrom
ipo-off-for-debug
Jun 29, 2026
Merged

ipo off for debug builds#3113
galabovaa merged 2 commits into
latestfrom
ipo-off-for-debug

Conversation

@galabovaa

@galabovaa galabovaa commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Switch off IPO for debug builds

Was causing trouble to the debugger, as spotted by @filikat

Possibly occuring now because of highs_extras?

Not super sure if we should merge this, one possible drawback is that I think it may be slowing down the valgrind tests

https://github.com/ERGO-Code/HiGHS/actions/runs/28382771311
https://github.com/ERGO-Code/HiGHS/actions/runs/28380402678

1:13 vs 1:51 in this case, but I see one 2:07 valgrind without the changes, so I am really not sure if it would affect it or just a runner feature.

What do you all think?

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.15%. Comparing base (9713e3d) to head (895fee4).

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #3113      +/-   ##
==========================================
- Coverage   73.15%   73.15%   -0.01%     
==========================================
  Files         430      430              
  Lines      103937   103937              
  Branches    16717    16717              
==========================================
- Hits        76039    76037       -2     
- Misses      27622    27624       +2     
  Partials      276      276              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jajhall jajhall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems sensible

@filikat filikat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It makes sense that it would slow down a bit the tests, as there is less optimization. But the times for the valgrind workflows seem to have a large variability anyway.
It's not a problem to leave this out. I just need to remember to set it manually when using the debugger.

@mathgeekcoder mathgeekcoder left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Makes sense to me too. Debug builds aren't meant to be that fast anyhow.

@galabovaa
galabovaa merged commit 558c497 into latest Jun 29, 2026
482 checks passed
@galabovaa
galabovaa deleted the ipo-off-for-debug branch June 30, 2026 14:35
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.

4 participants