-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Build indexstore-db and sourcekit-lsp in a unified SwiftPM build #60308
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
Build indexstore-db and sourcekit-lsp in a unified SwiftPM build #60308
Conversation
1f6b38e
to
72c64ac
Compare
<FileRef location = "group:../../../../indexstore-db"></FileRef> | ||
<FileRef location = "group:../../../../llbuild"></FileRef> | ||
<FileRef location = "group:../../../../sourcekit-lsp"></FileRef> | ||
<FileRef location = "group:../../../../swift-argument-parser"></FileRef> | ||
<FileRef location = "group:../../../../swift-collections"></FileRef> | ||
<FileRef location = "group:../../../../swift-docc"></FileRef> | ||
<FileRef location = "group:../../../../swift-driver"></FileRef> | ||
<FileRef location = "group:../../../../swift-format"></FileRef> | ||
<FileRef location = "group:../../../../swift-stress-tester/SourceKitStressTester"></FileRef> | ||
<FileRef location = "group:../../../../swift-stress-tester/SwiftEvolve"></FileRef> | ||
<FileRef location = "group:../../../../swift-syntax"></FileRef> | ||
<FileRef location = "group:../../../../swift-system"></FileRef> | ||
<FileRef location = "group:../../../../swift-tools-support-core"></FileRef> | ||
<FileRef location = "group:../../../../swiftpm"></FileRef> | ||
<FileRef location = "group:../../../../yams"></FileRef> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this just be adding indexstore/lsp?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sourcekit-lsp brings in additional dependencies that are also added here
- swift-argument-parser
- swift-tools-support-core
- swiftpm
- llbuild
- swift-system
- swift-driver
- yams
- swift-collections
Actually, are we missing swift-crypto @ahoppen? https://github.com/apple/swift-package-manager/blob/73133d3f69d956f16adde38c07c6969e02d6e5a1/Package.swift#L606
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I had walked the entire dependency tree but apparently I missed that. Thanks for noticing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, of course. I was only thinking about indexstore-db for some reason (I tagged on lsp at the end without really thinking about it). Thanks!
72c64ac
to
059128f
Compare
@swift-ci Please smoke test |
@swift-ci Please build toolchain |
This way we don’t need to build indexstore-db twice (once when building indexstore-db itself and once when building sourcekit-lsp). This reduced the smoke testing time by ~5 minutes.