Use depends for Linux daemon builds

This commit is contained in:
root
2026-04-30 15:54:38 +00:00
parent b1cfd32e8e
commit cf17c878f4
3 changed files with 31 additions and 22 deletions
+4
View File
@@ -38,6 +38,10 @@ packages. If they are missing, it asks before adding a standard
`/etc/apt/sources.list.d/agrarian-ubuntu.sources` file for the host
architecture.
The Linux daemon option uses the deterministic native `depends/` build with Qt
disabled, so Berkeley DB and other core libraries are built inside the checkout
instead of being required as Ubuntu system development packages.
Defaults
--------
+7 -16
View File
@@ -30,26 +30,17 @@ For a headless Qt wallet smoke test, also install:
sudo apt-get install -y \
xvfb
Daemon-only build
-----------------
Daemon build
------------
For the pool daemon, the GUI, tests, bench, ZMQ, and UPnP can be disabled:
./autogen.sh
./configure \
--without-gui \
--disable-tests \
--disable-bench \
--disable-zmq \
--with-miniupnpc=no \
--with-incompatible-bdb \
CXXFLAGS="-O0 -g0 --param ggc-min-expand=1 --param ggc-min-heapsize=32768"
make -j1
The daemon helper runs the same path:
For the daemon and CLI tools, use:
JOBS=1 ./contrib/build-linux.sh
The daemon helper builds/restores the native deterministic depends prefix first
with Qt disabled. Berkeley DB, OpenSSL, Boost, libevent, GMP, and supporting
libraries come from `depends/`, not from Ubuntu system headers.
Qt wallet build
---------------