Skip to content

Commit bd4c00a

Browse files
feat: clean up presets and upgrade to clang-20 (#16478)
Retrying with an ami with wasi-sdk for arm.
2 parents 61f39fc + 8792bb3 commit bd4c00a

35 files changed

Lines changed: 207 additions & 368 deletions

barretenberg/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,15 +319,15 @@ cmake --build --preset default --target run_ecc_bench
319319

320320
### Debugging
321321

322-
#### Debugging Verifification Failures
322+
#### Debugging Verification Failures
323323

324324
The CircuitChecker::check_circuit function is used to get the gate index and block information about a failing circuit constraint.
325325
If you are in a scenario where you have a failing call to check_circuit and wish to get more information out of it than just the gate index, you can use this feature to get a stack trace, see example below.
326326

327327
Usage instructions:
328328

329-
- On ubuntu (or our mainframe accounts) use `sudo apt-get install libdw-dev` to support trace printing
330-
- Use `cmake --preset clang16-dbg-fast-circuit-check-traces` and `cmake --build --preset clang16-dbg-fast-circuit-check-traces` to enable the backward-cpp dependency through the CHECK_CIRCUIT_STACKTRACES CMake variable.
329+
- On ubuntu (or our mainframe accounts) use `sudo apt-get install libdw-dev libelf-dev libbackward-cpp-dev` to support trace printing
330+
- Use `cmake --preset debug-fast-circuit-check-traces` and `cmake --build --preset debug-fast-circuit-check-traces` to enable the backward-cpp dependency through the CHECK_CIRCUIT_STACKTRACES CMake variable.
331331
- Run any case where you have a failing check_circuit call, you will now have a stack trace illuminating where this constraint was added in code.
332332

333333
Caveats:

0 commit comments

Comments
 (0)