Skip to content

Stop generating libs= headers, rely on CE auto-discovery#2026

Merged
partouf merged 2 commits intomainfrom
remove-libs-header-generation
Mar 11, 2026
Merged

Stop generating libs= headers, rely on CE auto-discovery#2026
partouf merged 2 commits intomainfrom
remove-libs-header-generation

Conversation

@partouf
Copy link
Copy Markdown
Member

@partouf partouf commented Mar 11, 2026

Summary

Companion to compiler-explorer/compiler-explorer#8552, which makes libs= optional by auto-discovering library IDs from libs.<id>.* property keys.

  • Stop generating libs= headers in property output (C++, Rust, Fortran, Windows)
  • Remove libs= merge and update logic from merge_properties and process_library_specific_properties
  • Fix amazon_properties.py Windows fallback that would break once upstream removes libs= lines -- now checks for libs.* prefixed lines instead

Test plan

  • make static-checks passes
  • make test passes (550 tests, 0 failures)
  • Verify Windows library property generation still works after CE#8552 merges

partouf and others added 2 commits March 11, 2026 19:38
CE PR #8552 makes the libs= property optional by auto-discovering
library IDs from libs.<id>.* keys. This removes libs= generation
and related merge logic from infra, since CE no longer needs it.

Also fixes amazon_properties.py which would break after the CE PR
removes libs= lines from upstream properties files -- the Windows
fallback now checks for libs.* prefixed lines instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Makes it easy to test against other branches of compiler-explorer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@partouf partouf merged commit 0ba9fd9 into main Mar 11, 2026
1 check passed
@partouf partouf deleted the remove-libs-header-generation branch March 11, 2026 21:18
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.

1 participant