Skip to content

build: adjust the autolink library for Windows #5215

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

compnerd
Copy link
Member

When building statically, ensure that we prefix the Swift libraries with the correct prefix to permit static linking of the libraries.

When building statically, ensure that we prefix the Swift libraries with
the correct prefix to permit static linking of the libraries.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@parkera
Copy link
Contributor

parkera commented May 30, 2025

@compnerd do you know why the Windows build is failing on this PR (and others in the repo)?

@compnerd
Copy link
Member Author

compnerd commented May 30, 2025

This PR is failing due to the fact that we are not finding the required libraries:

LINK : fatal error LNK1104: cannot open file 'libswiftSynchronization.lib'

This is something that requires adjusting the flags for Foundation (https://github.com/swiftlang/swift/pull/81769/files). However, that is failing due to modularisation failures being uncovered. This requires remodularising the Windows SDK (swiftlang/swift#81826). That will uncover the next round of issues with the driver and frontend :)

As to the other failures in this repo, I do not know - do you have a link for a run?

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