Skip to content

Commit

Permalink
Added some factors that affect the dependency list
Browse files Browse the repository at this point in the history
Summary: Backport of core [[bitcoin/bitcoin#15222 | PR15222]].

Test Plan: Read the doc.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5637
  • Loading branch information
merland authored and Fabcien committed Apr 2, 2020
1 parent 53d3336 commit 1ae5c5f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/dependencies.md
Expand Up @@ -17,6 +17,7 @@ These are the dependencies currently used by Bitcoin ABC. You can find instructi
| libevent | [2.1.8-stable](https://github.com/libevent/libevent/releases) | 2.0.22 | No | | |
| libjpeg | | | | | Yes |
| libpng | | | | | Yes |
| libsrvg | | | | | |
| MiniUPnPc | [2.0.20180203](http://miniupnp.free.fr/files) | 1.5 | No | | |
| Ninja | | [1.5.1](https://github.com/ninja-build/ninja/releases) | | | |
| OpenSSL | [1.0.1k](https://www.openssl.org/source) | | Yes | | |
Expand All @@ -29,3 +30,20 @@ These are the dependencies currently used by Bitcoin ABC. You can find instructi
| xkbcommon | | | | | Yes (Linux only) |
| ZeroMQ | [4.3.1](https://github.com/zeromq/libzmq/releases) | 4.1.5 | No | | |
| zlib | [1.2.11](http://zlib.net/) | | | | No |

Controlling dependencies
------------------------
Some dependencies are not needed in all configurations. The following are some
factors that affect the dependency list.

#### Options passed to `cmake`
* MiniUPnPc is not needed with `-DENABLE_UPNP=OFF`.
* Berkeley DB is not needed with `-DBUILD_BITCOIN_WALLET=OFF`.
* protobuf is not needed with `-DENABLE_BIP70=OFF`.
* Qt is not needed with `-DBUILD_BITCOIN_QT=OFF`.
* qrencode is not needed with `-DENABLE_QRCODE=OFF`.
* ZeroMQ is not needed with the `-DBUILD_BITCOIN_ZMQ=OFF`.

#### Other
* librsvg is only needed if you need to run `ninja osx-dmg` on
(cross-compilation to) macOS.

0 comments on commit 1ae5c5f

Please sign in to comment.