Skip to content

Fix IPO detection for C++ builds - #3970

Merged
MridulS merged 1 commit into
scipp:mainfrom
MridulS:fix/ipo-cxx-detection
Sep 9, 2026
Merged

MridulS merged 1 commit into
scipp:mainfrom
MridulS:fix/ipo-cxx-detection

Conversation

@MridulS

@MridulS MridulS commented Sep 9, 2026

Copy link
Copy Markdown
Member

Check only CXX so dependencies enabling C cannot disable LTO. Preserve explicit OFF, reject unsupported ON requests, and remove forced cache overrides. Update the Pixi comment to reflect automatic detection.

Fixes #3942

Check only CXX so dependencies enabling C cannot disable LTO. Preserve explicit OFF, reject unsupported ON requests, and remove forced cache overrides. Update the Pixi comment to reflect automatic detection.

Fixes scipp#3942
@MridulS
MridulS merged commit 0d094ae into scipp:main Sep 9, 2026
4 checks passed
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.

IPO/LTO has been silently disabled in all builds since #3777

2 participants