Skip to content
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

[windows][build.ps1] only use swift-corelibs-foundation-windows checkout #75140

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

Conversation

hyp
Copy link
Contributor

@hyp hyp commented Jul 10, 2024

in CI

#75073 has broken a local toolchain build on windows using build.ps1,
as the local build does not use update_checkout on windows, and thus does not checkout swift-corelibs-foundation-windows.

in CI

swiftlang#75073 has broken a local
toolchain build on windows using build.ps1,
as the local build does not use update_checkout on windows, and
thus does not checkout swift-corelibs-foundation-windows.
@hyp hyp requested review from compnerd and jmschonfeld July 10, 2024 20:52
@hyp
Copy link
Contributor Author

hyp commented Jul 10, 2024

@swift-ci please test

@hyp
Copy link
Contributor Author

hyp commented Jul 10, 2024

@swift-ci please build windows toolchain

@compnerd
Copy link
Member

CC: @iCharlesHu

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

This seems like a decent workaround, though would be nice to track the removal of this once swift-corelibs-foundation is universally re-cored.

# a checkout that does not yet use swift-foundation.
$RepoName = "swift-corelibs-foundation-windows";
} else {
$RepoName = "swift-corelibs-foundation";
Copy link
Contributor

Choose a reason for hiding this comment

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

Where does the script that specifies swift-corelibs-foundation for local builds live? Is it currently checking out main or windows/main?

Copy link
Member

Choose a reason for hiding this comment

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

That is at https://github.com/compnerd/swift-build/blob/main/default.xml#L20. It should checkout windows/main for now and will need to be changed back to main once main restores the ability to build for Windows.

@hyp
Copy link
Contributor Author

hyp commented Jul 11, 2024

@swift-ci please build windows toolchain

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.

None yet

3 participants