-
Notifications
You must be signed in to change notification settings - Fork 207
[Dependency Scanning] Move computation of the path for libSwiftScan to the toolchain #1253
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
@swift-ci test |
@swift-ci test Windows platform |
1972c29
to
eaf6051
Compare
@swift-ci test |
eaf6051
to
42490ce
Compare
// FIXME: This can be subtly wrong, we should rather | ||
// try to get the client to provide this info or move to a better | ||
// path convention for where we keep compiler support libraries | ||
internal var compilerHostSupportLibraryOSComponent : String { |
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 am hoping to be able to get rid of this once swiftlang/swift#62972 becomes the norm. But in the meantime it is just here to handle the soon-to-be legacy path.
@swift-ci test |
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.
LGTM!
4486b10
to
8bb4075
Compare
@swift-ci test |
@swift-ci test |
…o the toolchain Alongside lookup of executable tools, the toolchain is now responsible for looking up the driver's compiler support and dependency scanning library. It also adds an environment variable override 'SWIFT_DRIVER_SWIFTSCAN_LIB' for clients to specify a specific path to this shared library that they would like to be used instead of the default.
8bb4075
to
3982378
Compare
@swift-ci test |
Alongside lookup of executable tools, the toolchain is now responsible for looking up the driver's compiler support and dependency scanning library.
It also adds an environment variable override 'SWIFT_DRIVER_SWIFTSCAN_LIB' for clients to specify a specific path to this shared library that they would like to be used instead of the default.