From 5d8553a241d91a66825aad10a92ff61327a2ecac Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Thu, 4 Jul 2024 20:18:34 +0300 Subject: [PATCH] build: fix path used with cached synthesis when programming. --- CHANGELOG.md | 1 + src/niar/build.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d90039..9481606 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Fixed: * python: use PDM and declare dependencies correctly. * build: use generated IL to calculate digest, not what's on disk. * build: synthesis depends on the yosys script too, not just IL. +* build: fix path used with cached synthesis when programming. ## 0.1.1 diff --git a/src/niar/build.py b/src/niar/build.py index 3166863..bb54129 100644 --- a/src/niar/build.py +++ b/src/niar/build.py @@ -85,7 +85,7 @@ def main(np: Project, args): cr.run() if products is None: # XXX: good lord. - products = LocalBuildProducts(np.path.build()) + products = LocalBuildProducts(np.path.build(subdir)) if args.program: with logtime(logging.DEBUG, "programming"):