Skip to content

Commit aaa93b4

Browse files
committed
build.sh
1 parent b35c5ae commit aaa93b4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash -vx
2+
13
compiler=${1:-clang++}
24
# Go up one directory from 'build' to 'bitcoin'
35
pushd . || exit
@@ -13,7 +15,8 @@ pushd ./build || exit
1315

1416
if command -v brew &> /dev/null
1517
then
16-
brew install llvm
18+
brew install --verbose llvm
19+
brew install --verbose cmake boost pkgconf libevent qt@6 qrencode zeromq capnp python
1720
export LDFLAGS="-L/usr/local/opt/llvm/lib"
1821
export CPPFLAGS="-I/usr/local/opt/llvm/include"
1922
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
@@ -25,4 +28,4 @@ fi
2528
cmake -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_COMPILER=$compiler -DBUILD_GUI=ON -LH -S ../
2629

2730
# Now, try to build again
28-
make
31+
make deploy install

0 commit comments

Comments
 (0)