This allows building deterministic binaries with multiprocess like so:
0DEP_OPTS="MULTIPROCESS=1" contrib/guix/guix-build
Additionally custom options can be passed to cmake -B
using CONFIG_FLAGS
. Example (turns off external signer support, the rest is default):
0CONFIG_FLAGS="-DENABLE_EXTERNAL_SIGNER=OFF -DREDUCE_EXPORTS=ON -DBUILD_BENCH=OFF -DBUILD_GUI_TESTS=OFF -DBUILD_FUZZ_BINARY=OFF" contrib/guix/guix-build
The CONFIG_FLAGS
is less useful in practice, because:
- Some options will cause the Guix build to fail, e.g. because the packaging step assumes their presence.
- Some options are already indirectly controlled though
DEP_OPTS