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 authored and Amar Takhar committed 2024-11-08 00:24:21 +00:00
1 parent 84fe3d830c
commit f4875c8f4d
1 file changed
+1 -1
+1 -1
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: