3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2026-07-31 16:44:05 +00:00

Docs: Running tasks in parallel

Also using make for dependency management/ordering.
Includes `tests/stage_sim_and_verif/dependencies.mk` file because I was using that to check my make logic (and the docs example is once again incomplete sby).
This commit is contained in:
Krystine Sherwin 2026-07-16 15:12:10 +12:00
parent 138d39159e
commit 3d2d953526
No known key found for this signature in database
6 changed files with 93 additions and 6 deletions

View file

@ -3,3 +3,4 @@ bad
complex
default
example
dependencies

View file

@ -0,0 +1,14 @@
.PHONY: stage_1 stage_2 stage_2_alt
dependencies_%: dependencies.sby
sby -f dependencies.sby $*
STAGE_1_TARGS = dependencies_stage_1
stage_1: $(STAGE_1_TARGS)
STAGE_2_TARGS = dependencies_stage_2a dependencies_stage_2b
$(STAGE_2_TARGS): stage_1
stage_2: $(STAGE_2_TARGS)
# both tasks together
stage_2_alt: stage_1
sby -f dependencies.sby stage_2a stage_2b

View file

@ -0,0 +1,4 @@
[tasks]
stage_1
stage_2a
stage_2b