-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Set install path of libSwiftScan to 'lib/swift/host' instead of platform-specific path string #62972
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
This is currently missing the piece that creates a symlink from the new location to the old location. |
7136f78
to
03bebef
Compare
@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.
This likely will break the Windows packaging, and definitely will cause problems for Windows. A dynamically linked library that is not in CWD is a problem as it will not be found dynamically without altering the library search path.
@swift-ci please build toolchain windows platform |
As expected, this breaks:
|
Note that this will require some additional adjustments to swift-format as well. |
How is swift-format connected to this? |
@compnerd could you advise on what's going wrong here? |
IIRC that used _InternalSwiftScan? Or was it LSP?
|
Only swift-driver uses this library.
This library has always only ever been built dynamically. |
Oh! Okay, I guess I was confusing the internal libraries :-(
Ah awesome! Then you need to symlink the dll and the import library. |
03bebef
to
e37aa78
Compare
@swift-ci please build toolchain windows platform |
@swift-ci test |
The new errors don't seem related much:
|
@artemcm the Foundation failure isn't the issue - the artifacts not being found is the issue. That means that the installer failed to build. |
|
@swift-ci please build toolchain windows platform |
e37aa78
to
c16d3ae
Compare
@swift-ci please build toolchain windows platform |
@compnerd is there a away to get at the state of the build/install directory of this CI run? |
…orm-specific path string
c16d3ae
to
d95cb95
Compare
@swift-ci please build toolchain windows platform |
I think that you can piece that together from the build logs, but I don't think that there is a way to do a directory listing (perhaps @shahmishal can help?) |
@swift-ci test |
@swift-ci please build toolchain windows platform |
@swift-ci test macOS platform |
@compnerd the current state of this change leaves the library in the same place on Windows. This should largely be fine since the client picks it up from |
No description provided.