Skip to content

Conversation

@johnbute
Copy link

Working on the swift templates proposal. In order to pass SwiftPM CI smoke tests, need to bump the swift-argument-parser version to 1.6.1 to support argument parsing features that come with templates.

@johnbute johnbute requested a review from shahmishal as a code owner November 13, 2025 16:08
@johnbute johnbute requested a review from compnerd as a code owner November 14, 2025 18:51
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
@johnbute
Copy link
Author

@swift-ci please test

@johnbute johnbute mentioned this pull request Nov 17, 2025
@johnbute
Copy link
Author

Please test with following PRs:
swiftlang/swift-docc#1354
swiftlang/swift-package-manager#9211

@swift-ci Please Build Toolchain macOS Platform

-InstallTo "$($Platform.ToolchainInstallRoot)\usr" `
-Platform $Platform `
-UseBuiltCompilers Swift `
-UseBuiltCompilers Swift,C `
Copy link
Contributor

Choose a reason for hiding this comment

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

question: why is this need to bump the swift-argument-parser version?

Copy link
Member

Choose a reason for hiding this comment

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

swift-argument-parser now has C code and needs a C compiler. I'm still not sure why this has to be the just built C compiler and cannot be the MSVC compiler.

Copy link
Author

Choose a reason for hiding this comment

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

we are also able to add -UseMSVCCompilers C to the argument-parser build, but I talked with someone who is an expert and said the change above solves the issue too. FYI, the windows build failed due to a docc build error, swift-argument-parser was built successfully with the correct compiler

Copy link
Member

Choose a reason for hiding this comment

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

Who did you talk with? I want to make sure that they are on the same page as me. The DocC issues should be resolved at this point. I think that it would be better to use the MSVC compilers for the time being to maintain a uniform behaviour throughout the build.

Copy link
Author

Choose a reason for hiding this comment

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

Talked with Evan Wilde, but I will change it to use the MSVC compilers

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.

3 participants