lkml.org 
[lkml]   [2022]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 0/5] Improvements to incremental builds
From
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(-)

--
2.39.0.rc0.267.gcb52ba06e7-goog

\
 
 \ /
  Last update: 2022-12-02 05:58    [W:0.161 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site