File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ COLOR='\033[92m'
2929ENDC=' \033[0m'
3030
3131# Установить дополнительные зависимости
32- apt-get install -y libsecp256k1-dev libsodium-dev ninja-build fio rocksdb-tools liblz4-dev libjemalloc-dev
32+ apt-get install -y libsecp256k1-dev libsodium-dev ninja-build fio rocksdb-tools liblz4-dev libjemalloc-dev automake libtool
3333
3434# bugfix if the files are in the wrong place
3535wget " https://ton-blockchain.github.io/global.config.json" -O global.config.json
@@ -67,6 +67,10 @@ ls -A1 | xargs rm -rf
6767echo " https://github.com/${author} /${repo} .git -> ${branch} "
6868git clone --recursive https://github.com/${author} /${repo} .git .
6969git checkout ${branch}
70+
71+ git submodule sync --recursive
72+ git submodule update
73+
7074export CC=/usr/bin/clang
7175export CXX=/usr/bin/clang++
7276export CCACHE_DISABLE=1
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ if [ "$OSTYPE" == "linux-gnu" ]; then
5555 elif [ -f /etc/debian_version ]; then
5656 echo " Ubuntu/Debian Linux detected."
5757 apt-get update
58- apt-get install -y build-essential curl git cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev python3-pip libsecp256k1-dev libsodium-dev liblz4-dev libjemalloc-dev
58+ apt-get install -y build-essential curl git cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev python3-pip libsecp256k1-dev libsodium-dev liblz4-dev libjemalloc-dev automake libtool
5959
6060 # Install ninja
6161 apt-get install -y ninja-build
@@ -118,6 +118,9 @@ if [ "${ton_node_version}" != "master" ]; then
118118 cd ../
119119fi
120120
121+ git submodule sync --recursive
122+ git submodule update
123+
121124git config --global --add safe.directory $SOURCES_DIR /ton
122125
123126# Подготавливаем папки для компиляции
You can’t perform that action at this time.
0 commit comments