Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

[4.1] Don't bother caching compiled API notes at all #121

Conversation

jrose-apple
Copy link
Contributor

Cherry-pick of #120 on top of #119, in order to make the former apply more cleanly. Reviewed by @DougGregor.

Because API notes are always used with modules, and modules are always
cached in PCM files, we don't really achieve any major wins by caching
the API notes information separately. Just rebuild the PCM when the
API notes change, like we do for headers.

The next step is to not use the binary form at all. We don't really
need it, for the same reason we don't need the cache.

rdar://problem/31745420, also a better solution to
https://bugs.swift.org/browse/SR-5806

Cherry-picked from 581f4ac on top of 13bdf77, in order to make the
former apply more cleanly.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test

@jrose-apple
Copy link
Contributor Author

…guess not.

@jrose-apple jrose-apple merged commit 5ab1960 into apple:swift-4.1-branch Sep 6, 2017
@jrose-apple jrose-apple deleted the 4.1-why-cache-api-notes-at-all branch September 6, 2017 23:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant