Commit Graph

4 Commits

Author SHA1 Message Date
Steven Wu
9d59044bb1 [BrdigingHeader] Auto bridging header chaining
Add ability to automatically chaining the bridging headers discovered from all
dependencies module when doing swift caching build. This will eliminate all
implicit bridging header imports from the build and make the bridging header
importing behavior much more reliable, while keep the compatibility at maximum.

For example, if the current module A depends on module B and C, and both B and
C are binary modules that uses bridging header, when building module A,
dependency scanner will construct a new header that chains three bridging
headers together with the option to build a PCH from it. This will make all
importing errors more obvious while improving the performance.
2025-02-05 09:41:04 -08:00
Steven Wu
2e1c370e1d [Tests] Re-enable some tests that are fixed on Linux
Re-enable some tests that didn't get enabled when the underlying issue
was fixed.
2024-12-05 10:16:47 -08:00
Steven Wu
f9fe10b744 [Caching] Disable some tests on linux as they failed on aarch64-linux
The error is known due to  rdar://119964830
2024-01-31 18:39:24 -08:00
Steven Wu
52671e1a6a [Caching] Improve swift caching related tests
Improve caching related tests to make them faster and test the situation
closer to what actually happens during explicit module build. Most
noticable changes are:
* Avoid swift stdlib dependency during the tests to save time
* Use dependency scanner output to construct test cases
* Update old test cases that try to simulate caching from file system
  inputs to using only CAS inputs.
2024-01-28 22:06:59 -08:00