Repository navigation
build(tests): drop test_pch depends:[fastled_lib] (#3129 A11) - #3193
Conversation
The PCH custom_target input is test_pch.h, which #includes FastLED.h directly. The PCH compiles from headers — the build graph's deps=gcc depfile (generated via -MD -MF @DEPFILE@) already tracks every header it pulls in. The depends:[fastled_lib] edge serialized ~241 test DLLs behind every relink of fastled.dll, even though restat=1 would have saved downstream. The wall-clock dependency was forcing the graph to wait for the DLL link before re-evaluating PCH staleness. PCH inputs are headers, not the compiled library. Removing the spurious edge lets the build parallelize PCH and library work freely. Part of #3129 (Section A11). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughRemoves the ChangesMeson PCH build-order wiring
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Removes the misplaced
depends: [fastled_lib]edge from thetest_pchcustom_target intests/meson.build.Why this is safe
test_pch.h, which#includes FastLED.hdirectly.-MD -MF @DEPFILE@to emit a gcc-style depfile, so the build graph tracks every header thattest_pch.hpulls in.fastled_libis the compiled DLL, not a header. The PCH does not link, so a wall-clock dep on the library was never required for correctness.Why this matters
The spurious edge serialized ~241 test DLLs behind every relink of
fastled.dll. Even thoughrestat=1would let the build graph skip downstream rebuilds when the archive is content-equal, the wall-clock dependency was forcing the graph to wait for the link before evaluating PCH staleness.Removing the edge lets the build parallelize PCH and library work freely.
1 file changed, 1 deletion(-).
Part of #3129 (Section A11).
🤖 Generated with Claude Code
Summary by CodeRabbit