1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-23 00:53:25 +00:00

build: fix path used with cached synthesis when programming.

This commit is contained in:
Asherah Connor 2024-07-04 20:18:34 +03:00
parent bb65ae312c
commit 5d8553a241
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@ Fixed:
* python: use PDM and declare dependencies correctly. * python: use PDM and declare dependencies correctly.
* build: use generated IL to calculate digest, not what's on disk. * build: use generated IL to calculate digest, not what's on disk.
* build: synthesis depends on the yosys script too, not just IL. * build: synthesis depends on the yosys script too, not just IL.
* build: fix path used with cached synthesis when programming.
## 0.1.1 ## 0.1.1

View file

@ -85,7 +85,7 @@ def main(np: Project, args):
cr.run() cr.run()
if products is None: if products is None:
# XXX: good lord. # XXX: good lord.
products = LocalBuildProducts(np.path.build()) products = LocalBuildProducts(np.path.build(subdir))
if args.program: if args.program:
with logtime(logging.DEBUG, "programming"): with logtime(logging.DEBUG, "programming"):