Skip to content

[Dependency Scanning] Deprecate/Remove batch scanning capability #77719

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
merged 2 commits into from
Jan 30, 2025

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Nov 19, 2024

Batch dependency scanning was added as a mechanism to support multiple compilation contexts within a single module dependency graph. The Swift compiler and the Explicitly-built modules model has long since abandoned this approach and this code has long been stale. It is time to remove it and its associated C API.

@artemcm
Copy link
Contributor Author

artemcm commented Nov 19, 2024

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Nov 19, 2024

2 similar comments
@artemcm
Copy link
Contributor Author

artemcm commented Nov 20, 2024

@artemcm
Copy link
Contributor Author

artemcm commented Nov 21, 2024

@artemcm
Copy link
Contributor Author

artemcm commented Dec 2, 2024

@swift-ci test

Copy link
Contributor

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -24,8 +24,8 @@
/// The version constants for the SwiftDependencyScan C API.
/// SWIFTSCAN_VERSION_MINOR should increase when there are API additions.
/// SWIFTSCAN_VERSION_MAJOR is intended for "major" source/ABI breaking changes.
#define SWIFTSCAN_VERSION_MAJOR 0
#define SWIFTSCAN_VERSION_MINOR 10
#define SWIFTSCAN_VERSION_MAJOR 1
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@artemcm
Copy link
Contributor Author

artemcm commented Dec 6, 2024

@swift-ci test macOS platform

1 similar comment
@artemcm
Copy link
Contributor Author

artemcm commented Dec 9, 2024

@swift-ci test macOS platform

@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 2551118 to 8505360 Compare December 9, 2024 22:52
@artemcm
Copy link
Contributor Author

artemcm commented Dec 9, 2024

@swift-ci test

@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 8505360 to 149f1f7 Compare December 9, 2024 23:08
@artemcm
Copy link
Contributor Author

artemcm commented Dec 9, 2024

@swift-ci test

@artemcm artemcm enabled auto-merge December 9, 2024 23:08
@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 149f1f7 to 9b820da Compare January 14, 2025 22:25
@artemcm
Copy link
Contributor Author

artemcm commented Jan 14, 2025

@swift-ci test

4 similar comments
@artemcm
Copy link
Contributor Author

artemcm commented Jan 17, 2025

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 21, 2025

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 24, 2025

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 27, 2025

@swift-ci test

@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 9b820da to 415791f Compare January 28, 2025 23:30
Batch dependency scanning was added as a mechanism to support multiple compilation contexts within a single module dependency graph.
The Swift compiler and the Explicitly-built modules model has long since abandoned this approach and this code has long been stale. It is time to remove it and its associated C API.
@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 415791f to 41e4712 Compare January 28, 2025 23:31
@artemcm
Copy link
Contributor Author

artemcm commented Jan 28, 2025

@swift-ci test

@artemcm artemcm requested a review from xymus as a code owner January 29, 2025 01:10
@artemcm
Copy link
Contributor Author

artemcm commented Jan 29, 2025

@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from c9f0de1 to 8db90f4 Compare January 29, 2025 16:35
@artemcm
Copy link
Contributor Author

artemcm commented Jan 29, 2025

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 29, 2025

@artemcm artemcm force-pushed the RemoveBatchDependencyScan branch from 8db90f4 to 477ba0d Compare January 29, 2025 19:32
@artemcm
Copy link
Contributor Author

artemcm commented Jan 29, 2025

@artemcm artemcm disabled auto-merge January 29, 2025 20:19
@artemcm artemcm merged commit 9eeb78b into swiftlang:main Jan 30, 2025
5 checks passed
@artemcm artemcm deleted the RemoveBatchDependencyScan branch January 30, 2025 16:30
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