summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-14 10:31:12 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-21 11:05:48 +0100
commit1e1feab4007702a201cec57b2257e60bec070a27 (patch)
tree1d4d2b2050da6785b66d253fe465abdb23dbd19b /bin/bootstrap.py
parent403a794cc7a7b5365b782f56d0d4c7e31e7a0d74 (diff)
downloadjustbuild-1e1feab4007702a201cec57b2257e60bec070a27.tar.gz
Materialize computed roots before top-level analysis
Add a basic implementation of computed roots. So far we neither enforce nor make good use of the fact that the underlying target of a computed root has to be an export target of a content-fixed repository; instead, we always install the root to a temporary directory and pick it up from there. Still, the basic functionality is there, and it is minimally useful.
Diffstat (limited to 'bin/bootstrap.py')
-rwxr-xr-xbin/bootstrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bootstrap.py b/bin/bootstrap.py
index 6f7dc9b0..91700b7d 100755
--- a/bin/bootstrap.py
+++ b/bin/bootstrap.py
@@ -419,6 +419,8 @@ def bootstrap() -> None:
dirs.remove('other_tools')
if 'archive' in dirs:
dirs.remove('archive')
+ if 'computed_roots' in dirs:
+ dirs.remove('computed_roots')
for f in files:
if f.endswith(".cpp"):
cpp_files.append(os.path.join(root, f))