From f49983aa96ac2403f3cd5cd3f49994fb6b86d466 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 3 Mar 2025 11:00:55 +0100 Subject: prune bootstrap sources Originally, it was a good idea to add the full "bin" directory to the bootstrap sources; all scripts there where used in some form or another during bootstap and by taking the whole directory, we wouldn't have to update the target when adding new scripts. However, times have changed. The set of scripts neede for bootstrapping is stable for quite a while now; on the other hand actively-developped tools (like just-lock and just-import-git) now reside in "bin". So, to avoid unnecessary runs of the bootstrap tests, prune the dependency set. While there, also mark as tainted. --- TARGETS | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'TARGETS') diff --git a/TARGETS b/TARGETS index dc5f0817..f2cd21f9 100644 --- a/TARGETS +++ b/TARGETS @@ -285,13 +285,20 @@ } , "bootstrap-src": { "type": "install" - , "files": {"ROOT": "ROOT", "TARGETS": "TARGETS"} + , "tainted": ["test"] , "dirs": - [ [["TREE", null, "bin"], "."] - , [["TREE", null, "rules"], "."] + [ [["TREE", null, "rules"], "."] , [["TREE", null, "etc"], "."] , [["TREE", null, "src/buildtool"], "."] , [["TREE", null, "src/utils"], "."] ] + , "deps": + [ "ROOT" + , "TARGETS" + , "bin/bootstrap-traverser.py" + , "bin/bootstrap.py" + , "bin/just-mr.py" + , "bin/parallel-bootstrap-traverser.py" + ] } } -- cgit v1.2.3