6161 echo " Using compiled lz4"
6262fi
6363
64+ if [ ! -d " zlib" ]; then
65+ git clone https://github.com/madler/zlib.git
66+ cd zlib
67+ zlibPath=` pwd`
68+ ./configure --static
69+ make -j4
70+ test $? -eq 0 || { echo " Can't compile zlib" ; exit 1; }
71+ cd ..
72+ else
73+ zlibPath=$( pwd) /zlib
74+ echo " Using compiled zlib"
75+ fi
76+
64776578brew install openssl@3
6679brew unlink openssl@3 && brew link --overwrite openssl@3
@@ -75,7 +88,7 @@ test $? -eq 0 || { echo "Can't configure ton"; exit 1; }
7588if [ " $with_tests " = true ]; then
7689 ninja storage-daemon storage-daemon-cli blockchain-explorer \
7790 tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
78- lite-client validator-engine-console generate-random-id json2tlo dht-server \
91+ lite-client validator-engine-console generate-random-id json2tlo dht-server dht-ping-servers dht-resolve \
7992 http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator \
8093 test-ed25519 test-bigint test-vm test-fift test-cells test-smartcont \
8194 test-net test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp \
@@ -84,7 +97,7 @@ if [ "$with_tests" = true ]; then
8497else
8598 ninja storage-daemon storage-daemon-cli blockchain-explorer \
8699 tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
87- lite-client validator-engine-console generate-random-id json2tlo dht-server \
100+ lite-client validator-engine-console generate-random-id json2tlo dht-server dht-ping-servers dht-resolve \
88101 http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator proxy-liteserver
89102 test $? -eq 0 || { echo " Can't compile ton" ; exit 1; }
90103fi
@@ -109,6 +122,8 @@ if [ "$with_artifacts" = true ]; then
109122 cp build/http/http-proxy artifacts/
110123 cp build/rldp-http-proxy/rldp-http-proxy artifacts/
111124 cp build/dht-server/dht-server artifacts/
125+ cp build/dht/dht-ping-servers artifacts/
126+ cp build/dht/dht-resolve artifacts/
112127 cp build/lite-client/lite-client artifacts/
113128 cp build/validator-engine/validator-engine artifacts/
114129 cp build/utils/generate-random-id artifacts/
0 commit comments