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-8135] SwiftPM should only check for clang if it is needed #4778

Closed
ankitspd opened this issue Jun 28, 2018 · 4 comments
Closed

[SR-8135] SwiftPM should only check for clang if it is needed #4778

ankitspd opened this issue Jun 28, 2018 · 4 comments
Labels

Comments

@ankitspd
Copy link
Member

Previous ID SR-8135
Radar rdar://problem/39347651
Original Reporter @aciidb0mb3r
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: db7e90e2c725822f8e6102a88d75f7fc

Issue Description:

I have a use case for running `swift package update` on a machine which does not have Clang installed.

Currently SwiftPM errors out, but it never actually uses Clang in this case. It would be nice if it only errored for commands which might actually need Clang.

@belkadan
Copy link

Note that since Swift uses Clang for linking on non-Apple systems, that's effectively "any build".

@ankitspd
Copy link
Member Author

Hm, true. This is repost of @ddunbar's bug, not sure how important it the use case is.

@ddunbar
Copy link
Member

ddunbar commented Jul 3, 2018

This is still useful when doing non-build operations (pure package operations) in a container which doesn't need to do any other stuff

@ankitspd
Copy link
Member Author

#1695

@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
This issue was closed.
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

3 participants