Improvements to incremental builds
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | tools lib api: Add dependency test to install_headerstools/ | +26 | 0 replies | |
| 2/5 | tools lib perf: Add dependency test to install_headerstools/ | +22 | 3 replies | |
| 3/5 | tools lib subcmd: Add dependency test to install_headerstools/ | +13 | 3 replies | |
| 4/5 | tools lib symbol: Add dependency test to install_headerstools/ | +14 | 0 replies | |
| 5/5 | perf build: Fix python/perf.so library's nametools/ tools/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Improvements to incremental builds
Switching to using install_headers caused incremental builds to always rebuild most targets. This was caused by the headers always being reinstalled and then getting new timestamps causing dependencies to be rebuilt. Follow the convention in libbpf where the install targets are separated and trigger when the target isn't present or is out-of-date.
Further, fix an issue in the perf build with libpython where python/perf.so was also regenerated as the target name was incorrect.
Ian Rogers (5):
tools lib api: Add dependency test to install_headers tools lib perf: Add dependency test to install_headers tools lib subcmd: Add dependency test to install_headers tools lib symbol: Add dependency test to install_headers perf build: Fix python/perf.so library's name
tools/lib/api/Makefile | 38 ++++++++++++++++++++++----------- tools/lib/perf/Makefile | 43 +++++++++++++++++++------------------- tools/lib/subcmd/Makefile | 23 +++++++++++--------- tools/lib/symbol/Makefile | 21 ++++++++++++------- tools/perf/Makefile.config | 4 +++- tools/perf/Makefile.perf | 2 +- 6 files changed, 79 insertions(+), 52 deletions(-)
Signature · 1 line
2.39.0.rc0.267.gcb52ba06e7-goog