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

[SR-13382] Bootstrap Builds of SwiftPM Requiring Toolchains Is Unnecessary #4510

Open
CodaFi opened this issue Aug 12, 2020 · 2 comments
Open
Labels

Comments

@CodaFi
Copy link
Member

CodaFi commented Aug 12, 2020

Previous ID SR-13382
Radar rdar://problem/67000258
Original Reporter @CodaFi
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager, Project Infrastructure
Labels Bug
Assignee None
Priority Medium

md5: 8fdb8e0f2edb72cddd364992c2175186

Issue Description:

I can recall a point in time where all one needed to do was run

$ utils/build-script --llbuild --swiftpm

and that would pick up the just-built host tools and use xcrun to fill in the gaps. Recently, we've begun forming paths to swiftc relative to a toolchain dir, which implies that the bootstrap script wants you to actually run with the necessary install flags turned on in build-script. This seems like a step backwards in terms of functionality. Unless asked to install swiftpm, we should form paths to the just-built tools and invoke the bootstrap script that way.

@CodaFi
Copy link
Member Author

CodaFi commented Aug 12, 2020

@swift-ci create

@CodaFi
Copy link
Member Author

CodaFi commented Aug 12, 2020

swift_build_support/products/swiftpm.py:

> swiftc = os.path.join(toolchain_path, "bin", "swiftc")

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants