Skip to content

[Build] NFC: Split BuildOperationBuildSystemDelegateHandler into LLBu… #7667

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

Merged

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 14, 2024

…ildCommands, LLBuildDescription and LLBuildProgressTracker

Motivation:

There are 3 logically distinct things in this giant file which are better kept separate.

Modifications:

  • Splits BuildOperationBuildSystemDelegateHandler.swift into 3 files - one for commands, one for build description and one for progress tracking.

Result:

Concerns are properly separated.

…ildCommands, LLBuildDescription and LLBuildProgressTracker
@xedin
Copy link
Contributor Author

xedin commented Jun 14, 2024

I also ran swiftformat on all three.

@xedin
Copy link
Contributor Author

xedin commented Jun 14, 2024

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 14, 2024

swiftlang/swift#74439
@swift-ci please test Linux platform

@xedin xedin merged commit 8a4364c into swiftlang:main Jun 17, 2024
5 checks passed
MaxDesiatov pushed a commit that referenced this pull request Jun 27, 2024
#7667)

…ildCommands, LLBuildDescription and LLBuildProgressTracker

### Motivation:

There are 3 logically distinct things in this giant file which are
better kept separate.

### Modifications:

- Splits BuildOperationBuildSystemDelegateHandler.swift into 3 files -
one for commands, one for build description and one for progress
tracking.

### Result:

Concerns are properly separated.

(cherry picked from commit 8a4364c)
MaxDesiatov added a commit that referenced this pull request Jun 27, 2024
Includes these PRs cherry-picked off `main`
* #7605
* #7660
* #7667
* #7682
* #7687
* #7690
* #7684
* #7679

**Explanation**: Cherry-pick of recent NFC changes, which makes it
easier to cherry-pick actual bug fixes onto 6.0 due to the reduced
number of merge conflicts.
**Scope**: broad, includes both modules graph and llbuild-related
changes.
**Risk**: low, the test suite is passing, no functional changes are
included, and cherry-picked changes were incubated on `main` for some
time.
**Testing**: Existing automated test suite.
**Issue**: N/A
**Reviewers**: @xedin @MaxDesiatov @rauhul

---------

Co-authored-by: Pavel Yaskevich <[email protected]>
Co-authored-by: Danny Mösch <[email protected]>
Co-authored-by: Rauhul Varma <[email protected]>
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.

2 participants