forked from gertjaap/VTCDocker
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild-aarch-only.sh
More file actions
executable file
·22 lines (19 loc) · 1016 Bytes
/
build-aarch-only.sh
File metadata and controls
executable file
·22 lines (19 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
cd /root/vertcoin
export WORKSPACE=`pwd`
rm -rf build
export HOST=aarch64-linux-gnu
make -j8 -C depends HOST=$HOST
./autogen.sh
mkdir build && cd build
../configure --disable-dependency-tracking --disable-tests --disable-bench --enable-glibc-back-compat --prefix=$WORKSPACE/depends/$HOST --enable-reduce-exports
make -j8
rm -rf /root/output/$HOST
mkdir -p /root/output/$HOST/bin
find $WORKSPACE/build/src/vertcoin* $WORKSPACE/build/src/qt/vertcoin* -maxdepth 2 -type f -not -name "*_*" -and -not -name "vertcoind-bitcoind.o" -exec mv {} /root/output/$HOST/bin \;
#QT_BINS=("/root/output/$HOST/bin/vertcoin-qt")
#DAEMON_BINS=("/root/output/$HOST/bin/vertcoind" "/root/output/$HOST/bin/vertcoin-tx" "/root/output/$HOST/bin/vertcoin-cli" "/root/output/$HOST/bin/vertcoin-wallet" "/root/output/$HOST/bin/vertcoin-util")
#
#strip --strip-unneeded "${QT_BINS[@]}" "${DAEMON_BINS[@]}"
#zip -j /root/output/vertcoind-aarch64.zip "${DAEMON_BINS[@]}"
#zip -j /root/output/vertcoinqt-aarch64.zip "${QT_BINS[@]}"