-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Revert "Revert "swift-lang: shuffle the source directory structure (N… #29941
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
Conversation
CC: @drexin @benlangmuir |
@swift-ci please clean test macOS platform |
…FC)"" This reverts commit beb8ecd. Add a workaround for the dependency issue. It is unclear why `sourcekitd` is getting added improperly as a dependency on `lib/sourcekitd.framework/sourcekitd`. This workaround adjusts the dependency such that we end up with a dependency on `lib/sourcekitd.framework/Versions/A/sourcekitd` as an order-only dependency. This should fix the compile issue. I am unable to reproduce this issue with the `add_library` usage for adding a Swift library. This allows us to cleave the host and target libraries, and so the workaround is sufficient to make progress and the problem will be resolved with the migration towards CMake for handling the dependencies.
82ba735
to
200b96d
Compare
|
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.
It's not ideal, but as long as this makes it through CI it's fine with me. Hopefully this will all be gone soon.
@swift-ci please clean test macOS platform |
Build failed |
@swift-ci please clean test macOS platform |
Build failed |
Looks like this is causing failures: https://ci.swift.org//job/swift-master-source-compat-suite/4652 |
That looks like we're missing the dependency again 😞 The only sourcekitd-related action I see in the log is creating the
|
…FC)""
This reverts commit beb8ecd. Add a
workaround for the dependency issue.
It is unclear why
sourcekitd
is getting added improperly as adependency on
lib/sourcekitd.framework/sourcekitd
. This workaroundadjusts the dependency such that we end up with a dependency on
lib/sourcekitd.framework/Versions/A/sourcekitd
as an order-onlydependency. This should fix the compile issue. I am unable to
reproduce this issue with the
add_library
usage for adding a Swiftlibrary. This allows us to cleave the host and target libraries, and so
the workaround is sufficient to make progress and the problem will be
resolved with the migration towards CMake for handling the dependencies.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.