Repository navigation
Commit 2039457
committed
build: patch bazel-orfs synth_partition SYNTH_SKIP_KEEP truthy check
ORFS variables.yaml defaults SYNTH_SKIP_KEEP to "0" and emits
'export SYNTH_SKIP_KEEP?=0' via defaults.py. bazel-orfs's
synth_partition.sh tested the env var with [ -n "$SYNTH_SKIP_KEEP" ],
which is true for any non-empty string -- so "0" took the skip-keep
branch and grep'd for 1_1_yosys_canonicalize.rtlil that wasn't in
the partition action's sandbox.
Switch the test to an explicit "1" comparison. Verified with
bazelisk build //flow/designs/nangate45/bp_be_top:bp_be_top_synth,
which now completes (was failing on the spurious grep).
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 8ef0408 commit 2039457
2 files changed
Lines changed: 19 additions & 0 deletions
File tree
- bazel/bazel-orfs-patches
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments