build: Fix spec cache

The updated waf version deletes the waf cache directory in the build
tree.  This removes also the build specification item cache.  Move the
cache directory so that it works across configure commands.
This commit is contained in:
Sebastian Huber
2024-11-04 01:11:33 +01:00
committed by Amar Takhar
parent 84fe3d830c
commit f4875c8f4d

View File

@@ -1250,7 +1250,7 @@ def load_from_yaml(load, ctx, data_by_uid, base, path):
def load_items_in_directory(ctx, ctors, path):
p = "c4che/" + re.sub(r"[^\w]", "_", path) + ".pickle"
p = re.sub(r"[^\w]", "_", path) + ".pickle"
try:
f = ctx.bldnode.make_node(p)
except AttributeError: