-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[CMake] Always build the "non-overlay" apinotes #16851
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
[CMake] Always build the "non-overlay" apinotes #16851
Conversation
@swift-ci please test |
I think this will build them both ways; it'd really be better to stop building them with the overlays. Or did you want to save that for a follow-up? |
Build failed |
Closing this, I don't think this is the right solution. |
07ab9b0
to
04e520f
Compare
04e520f
to
6ab1b3d
Compare
@swift-ci test |
Build failed |
Build failed |
if (NOT IS_DIRECTORY "${SWIFT_SOURCE_DIR}/stdlib/public/SDK/${framework_name}") | ||
list(APPEND SWIFTLIB_SINGLE_API_NOTES "${framework_name}") | ||
endif() | ||
# Always build the "non-overlay" apinotes to keep them in sync |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment nitpick: this is saying "Always build all API notes", not just the non-overlay ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it's building all the apinotes found in swift/apinotes/
, but I can adjust the comment.
Purpose
This PR forces swiftlang to always "rebuild" the "non-overlay" apinotes found in the
apinotes
directory when compiling.rdar://40496966