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-11945] Swift frontend is too conservative when emitting dependencies #54365

Closed
robinkunde opened this issue Dec 11, 2019 · 0 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@robinkunde
Copy link
Contributor

Previous ID SR-11945
Radar None
Original Reporter @robinkunde
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 9946c31738d692351c1dac81b9632e51

duplicates:

  • SR-11927 Swift compiler chokes when incrementally building one file out of many

relates to:

  • SR-11927 Swift compiler chokes when incrementally building one file out of many
  • SR-11944 Swift Frontend emits too many system framework dependencies

Issue Description:

When emitting the make-style dependencies (*.d), the frontend will very conservatively include all Swift files in the module/project, even for files that don't depend on other files or even empty files (see attached example project).
It also includes interface/header files from other modules that are not imported in a given Swift file.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant