Commit 2d3d7e9
committed
fix(generate_klayout_tech): remove unused reference_dir / use_relative_paths
Per maliberty's review on #4234: rather than keep `reference_dir` and
`use_relative_paths` around as ignored backward-compat parameters,
drop them entirely and update flow/Makefile to stop passing
`--reference-dir`. No remaining caller in the tree relies on either.
Changes:
* flow/util/generate_klayout_tech.py — `generate_klayout_tech()`
signature is now (template_lyt, output_lyt, lef_files,
map_files=None). CLI loses `--reference-dir` and
`--use-relative-paths`. Stale comment / docstring lines about
the dropped args go too.
* flow/Makefile — `do-klayout` and `do-klayout_wrap` both stop
passing `--reference-dir`.
* flow/test/test_generate_klayout_tech.py — drops the now-invalid
`reference_dir=` / `use_relative_paths=` kwargs from the three
integration-style tests. Existing 13 tests still pass.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent c2c6abb commit 2d3d7e9
3 files changed
Lines changed: 3 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
215 | | - | |
216 | | - | |
| 214 | + | |
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
125 | | - | |
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
| |||
152 | 150 | | |
153 | 151 | | |
154 | 152 | | |
155 | | - | |
156 | 153 | | |
157 | | - | |
158 | 154 | | |
159 | 155 | | |
160 | 156 | | |
| |||
181 | 177 | | |
182 | 178 | | |
183 | 179 | | |
184 | | - | |
185 | 180 | | |
186 | | - | |
187 | 181 | | |
188 | 182 | | |
189 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 33 | + | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 40 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 41 | | |
55 | 42 | | |
56 | 43 | | |
| |||
63 | 50 | | |
64 | 51 | | |
65 | 52 | | |
66 | | - | |
67 | | - | |
| 53 | + | |
68 | 54 | | |
69 | 55 | | |
70 | 56 | | |
| |||
87 | 73 | | |
88 | 74 | | |
89 | 75 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 76 | | |
100 | 77 | | |
101 | 78 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 79 | | |
111 | 80 | | |
112 | 81 | | |
113 | 82 | | |
114 | 83 | | |
115 | 84 | | |
116 | | - | |
117 | 85 | | |
118 | | - | |
119 | 86 | | |
120 | 87 | | |
121 | 88 | | |
| |||
0 commit comments