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-12719] SwiftPM 5.2 doesn't notice header file changes during incremental builds #4551

Closed
abertelrud opened this issue May 1, 2020 · 2 comments
Assignees
Labels

Comments

@abertelrud
Copy link
Contributor

Previous ID SR-12719
Radar rdar://62656284
Original Reporter @abertelrud
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @abertelrud
Priority Medium

md5: 9b5ed108555caf5b15109be024292f26

is duplicated by:

  • SR-12718 SwiftPM 5.2 doesn't notice changes in header files during incremental builds

Issue Description:

Prior to SwiftPM 5.2, a change to a C header in a package would cause any source file that either directly or indirectly included the header to be recompiled.

This is no longer the case in SwiftPM 5.2

1. Create a package and include a C header and a C source file in a target
2. Make the C source file #include the C header
3. Build
4. Change the header
5. Build (without cleaning)

Notice that the source file isn't recompiled.

@abertelrud
Copy link
Contributor Author

#2723

@abertelrud
Copy link
Contributor Author

07ae5a9

@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

1 participant