Skip to content

Instantly share code, notes, and snippets.

@hi-ogawa
Created July 12, 2021 23:35
Show Gist options
  • Save hi-ogawa/f783f01ebd4a1099af71aa471afd6377 to your computer and use it in GitHub Desktop.
Save hi-ogawa/f783f01ebd4a1099af71aa471afd6377 to your computer and use it in GitHub Desktop.
Build Bitcoin

Separate directories for different build type

./autogen.sh

mkdir build-0 && cd build-0
../configure --without-bdb --prefix=$PWD/install CC=clang CXX=clang++ LDFLAGS=-fuse-ld=lld

mkdir build-1 && cd build-1
../configure --with-gui=qt5 --with-incompatible-bdb --prefix=$PWD/install CC=clang CXX=clang++ LDFLAGS=-fuse-ld=lld

make -j 4
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment