how to quicken the make process after modifing the codes? #22752

issue jiebanghan opened this issue on August 20, 2021
  1. jiebanghan commented at 7:41 AM on August 20, 2021: none

    Hello, I am just learning the bitcoin codes of version bitcoin-0.20. So I compiled the codes for a very long time to generate the bitcoind and so on. After a period of learning , I want to modify some codes in order to verify some ideas. By the way , I run the bitcoin on my WSL of the windows10 . However, I found the makefile period is a very long time despite I only modify one sentence codes. Hence, would you please tell me how to quicken the make process after modifing the bitcoin codes? Thank you very much.

  2. fanquake commented at 7:44 AM on August 20, 2021: member

    Install and use ccache. Pass -jX to make. Where X is the number of threads you want to use.

  3. fanquake closed this on Aug 20, 2021

  4. hebasto commented at 7:44 AM on August 20, 2021: member

    sudo apt install ccache, then re-configure and make again.

    Details: https://github.com/bitcoin/bitcoin/blob/master/doc/productivity.md#cache-compilations-with-ccache

  5. fanquake added the label Questions and Help on Aug 20, 2021
  6. jiebanghan commented at 8:11 AM on August 20, 2021: none

    Thank you very much.

  7. fanquake locked this on Aug 20, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-26 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me