Skip to content

Conversation

@artemcm
Copy link
Contributor

@artemcm artemcm commented Jan 11, 2023

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.

@artemcm
Copy link
Contributor Author

artemcm commented Jan 11, 2023

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 11, 2023

@swift-ci test Windows platform

@artemcm artemcm force-pushed the RefactorLibSwiftScanLookup branch from 1972c29 to eaf6051 Compare January 11, 2023 17:30
@artemcm
Copy link
Contributor Author

artemcm commented Jan 11, 2023

@swift-ci test

@artemcm artemcm force-pushed the RefactorLibSwiftScanLookup branch from eaf6051 to 42490ce Compare January 11, 2023 17:39
// 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 {
Copy link
Contributor Author

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.

@artemcm
Copy link
Contributor Author

artemcm commented Jan 11, 2023

@swift-ci test

@artemcm artemcm requested review from nkcsgexi and owenv January 11, 2023 19:18
Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

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

LGTM!

@artemcm artemcm force-pushed the RefactorLibSwiftScanLookup branch 2 times, most recently from 4486b10 to 8bb4075 Compare January 11, 2023 23:36
@artemcm
Copy link
Contributor Author

artemcm commented Jan 11, 2023

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Jan 13, 2023

@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.
@artemcm artemcm force-pushed the RefactorLibSwiftScanLookup branch from 8bb4075 to 3982378 Compare January 13, 2023 19:24
@artemcm
Copy link
Contributor Author

artemcm commented Jan 13, 2023

@swift-ci test

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