doc/bench: Added cmake build options to bench error messages #1778

pull kevkevinpal wants to merge 1 commits into bitcoin-core:master from kevkevinpal:compileErrorMessageWithCMake changing 1 files +4 −4
  1. kevkevinpal commented at 10:10 PM on December 4, 2025: contributor

    Motivation

    I wanted to try and run the benchmarking scripts and I noticed the recovery benchmark in bench.c. I wanted to run but I was using cmake and the error message telling me to use ./configure -enable-module-recovery wasn't sufficient.

    I figure rather than forcing users to look into the CMakeLists.txt file or anywhere else we should add this to the output

    Solution

    I appended to the message to include the -DSECP256K1_ENABLE_MODULE_...=ON in the message.

  2. real-or-random added the label meta/development on Dec 5, 2025
  3. real-or-random commented at 8:27 AM on December 5, 2025: contributor

    Thanks for spotting this. Maybe a simpler fix (which will be easier to maintain in the future) is to remove this line (or simply refer to the README).

  4. kevkevinpal force-pushed on Dec 5, 2025
  5. doc/bench: Added cmake build options to bench error messages 3b5b03f301
  6. kevkevinpal force-pushed on Dec 5, 2025
  7. kevkevinpal commented at 2:26 PM on December 5, 2025: contributor

    Thanks for spotting this. Maybe a simpler fix (which will be easier to maintain in the future) is to remove this line (or simply refer to the README).

    Sounds good I pushed 3b5b03f to replace the message with this instead:

    "See README.md for configuration instructions.\n\n"

    let me know if this looks good, I can reword or simply delete the print if that is wanted

  8. real-or-random approved
  9. real-or-random commented at 8:54 PM on December 5, 2025: contributor

    utACK 3b5b03f30169903baae7f365cff3137a371a9a8d

  10. hebasto approved
  11. hebasto commented at 3:04 PM on December 15, 2025: member

    ACK 3b5b03f30169903baae7f365cff3137a371a9a8d, I have reviewed the code and it looks OK.

    Another PR might also improve this comment:https://github.com/bitcoin-core/secp256k1/blob/5c75183344585baee5de74c771099d13613bf7dc/include/secp256k1.h#L352

  12. real-or-random merged this on Dec 15, 2025
  13. real-or-random closed this on Dec 15, 2025

  14. real-or-random referenced this in commit f9a944ff2d on Dec 19, 2025
  15. Eunovo referenced this in commit b065787ddb on Jan 19, 2026
  16. fanquake referenced this in commit c4c4e04ca1 on Jan 26, 2026
  17. fanquake referenced this in commit 2fccbea3c8 on Jan 27, 2026
  18. fjahr referenced this in commit 182197f98a on Jan 29, 2026
  19. fjahr referenced this in commit ea9a84ab3c on Jan 31, 2026
  20. fjahr referenced this in commit 23c2527f12 on Feb 8, 2026
  21. Sjors referenced this in commit d5660d3a13 on Feb 16, 2026
  22. github-actions[bot] referenced this in commit c3f80fff5f on Mar 1, 2026
  23. github-actions[bot] referenced this in commit 4aeff8400e on Mar 1, 2026
  24. github-actions[bot] referenced this in commit 5f15eb0c55 on Mar 1, 2026
  25. 0x000000000019d6689c085ae165831e934ff76 referenced this in commit d54574beca on Mar 2, 2026
  26. csjones referenced this in commit fb3e16af04 on Mar 2, 2026
  27. real-or-random referenced this in commit 459eab20f2 on Mar 3, 2026
  28. vmta referenced this in commit 1ddc2f947f on Apr 26, 2026
  29. vmta referenced this in commit 56c40fe100 on Apr 27, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:52 UTC