Commit 11d9d9e
authored
feat(avm)!: enable optimized poseidon2 rels (#16467)
Updates bb-pilcom to change the generated files.
Now the choice of whether to use `generated/poseidon2_perm` or
`optimized/poseidon2_perm` can be made via `bb-pilcom` through the use
of `feature-flags` (see `README.md`).
I could not convince CMake to ignore building `generated/poseidon2_perm`
file even if it wasn't included in any other files, so the solution for
now was also to **not** generate the `poseidon2_perm` file when using
the optimized one.
This does mean that the generated folder should be deleted if switching
between from generated to optimized to minimise wasted compiling time
(this is already supported by the `-y` flag in the cli)File tree
15 files changed
+118
-3299
lines changed- barretenberg/cpp/src/barretenberg/vm2
- constraining/relations
- generated
- relations
- bb-pilcom
- bb-pil-backend
- src
- templates
- cli
15 files changed
+118
-3299
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
180 | 185 | | |
181 | 186 | | |
182 | 187 | | |
183 | | - | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| |||
Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 0 additions & 53 deletions
This file was deleted.
0 commit comments