Changeset View
Changeset View
Standalone View
Standalone View
depends/README.md
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
For linux AARCH64 cross compilation: | For linux AARCH64 cross compilation: | ||||
sudo apt-get install g++-aarch64-linux-gnu | sudo apt-get install g++-aarch64-linux-gnu | ||||
### Dependency Options | ### Dependency Options | ||||
The following can be set when running make: make FOO=bar | The following can be set when running make: `make FOO=bar` | ||||
SOURCES_PATH: downloaded sources will be placed here | <dl> | ||||
BASE_CACHE: built packages will be placed here | <dt>SOURCES_PATH</dt> | ||||
SDK_PATH: Path where sdk's can be found (used by macOS) | <dd>downloaded sources will be placed here</dd> | ||||
FALLBACK_DOWNLOAD_PATH: If a source file can't be fetched, try here before giving up | <dt>BASE_CACHE</dt> | ||||
NO_QT: Don't download/build/cache qt and its dependencies | <dd>built packages will be placed here</dd> | ||||
NO_QR: Don't download/build/cache packages needed for enabling qrencode | <dt>SDK_PATH</dt> | ||||
NO_ZMQ: Don't download/build/cache packages needed for enabling zeromq | <dd>Path where sdk's can be found (used by macOS)</dd> | ||||
NO_WALLET: Don't download/build/cache libs needed to enable the wallet | <dt>FALLBACK_DOWNLOAD_PATH</dt> | ||||
NO_UPNP: Don't download/build/cache packages needed for enabling upnp | <dd>If a source file can't be fetched, try here before giving up</dd> | ||||
NO_JEMALLOC: Don't download/build/cache jemalloc | <dt>NO_QT</dt> | ||||
DEBUG: disable some optimizations and enable more runtime checking | <dd>Don't download/build/cache qt and its dependencies</dd> | ||||
NO_PROTOBUF: Don't download/build/cache protobuf (used for BIP70 support) | <dt>NO_QR</dt> | ||||
HOST_ID_SALT: Optional salt to use when generating host package ids | <dd>Don't download/build/cache packages needed for enabling qrencode</dd> | ||||
BUILD_ID_SALT: Optional salt to use when generating build package ids | <dt>NO_ZMQ</dt> | ||||
JOBS: Number of jobs to use for each package build | <dd>Don't download/build/cache packages needed for enabling zeromq</dd> | ||||
<dt>NO_WALLET</dt> | |||||
<dd>Don't download/build/cache libs needed to enable the wallet</dd> | |||||
<dt>NO_UPNP</dt> | |||||
<dd>Don't download/build/cache packages needed for enabling upnp</dd> | |||||
<dt>NO_JEMALLOC</dt> | |||||
<dd>Don't download/build/cache jemalloc</dd> | |||||
<dt>DEBUG</dt> | |||||
<dd>disable some optimizations and enable more runtime checking</dd> | |||||
<dt>NO_PROTOBUF</dt> | |||||
<dd>Don't download/build/cache protobuf (used for BIP70 support)</dd> | |||||
<dt>HOST_ID_SALT</dt> | |||||
<dd>Optional salt to use when generating host package ids</dd> | |||||
<dt>BUILD_ID_SALT</dt> | |||||
<dd>Optional salt to use when generating build package ids</dd> | |||||
<dt>JOBS</dt> | |||||
<dd>Number of jobs to use for each package build</dd> | |||||
<dt>FORCE_USE_SYSTEM_CLANG</dt> | |||||
<dd>(EXPERTS ONLY) When cross-compiling for macOS, use clang found in the | |||||
system's <code>$PATH</code> rather than the default prebuilt release of clang | |||||
from llvm.org</dd> | |||||
</dl> | |||||
If some packages are not built, for example by building the depends with | If some packages are not built, for example by building the depends with | ||||
`make NO_WALLET=1`, the appropriate options should be set when building Bitcoin | `make NO_WALLET=1`, the appropriate options should be set when building Bitcoin | ||||
ABC using these dependencies. | ABC using these dependencies. | ||||
In this example, `-DBUILD_BITCOIN_WALLET=OFF` should be passed to the `cmake` | In this example, `-DBUILD_BITCOIN_WALLET=OFF` should be passed to the `cmake` | ||||
command line to ensure that the build will not fail due to missing dependencies. | command line to ensure that the build will not fail due to missing dependencies. | ||||
Additional targets: | Additional targets: | ||||
Show All 12 Lines |