File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5959if [ ! -d " ${bindir} /openssl_3" ]; then
6060 git clone https://github.com/openssl/openssl ${bindir} /openssl_3
6161 cd ${bindir} /openssl_3
62- git checkout openssl-3.1.4
62+ git checkout openssl-3.5
6363 ./config
6464 make build_libs -j$( nproc)
6565 opensslPath=` pwd`
@@ -94,7 +94,7 @@ mkdir -p ${tmp_bin_dir}/${repo}
9494cd ${tmp_bin_dir} /${repo}
9595cpuNumber=$( cat /proc/cpuinfo | grep " processor" | wc -l)
9696
97- cmake -DCMAKE_BUILD_TYPE=Release ${srcdir} /${repo} -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath /include -DOPENSSL_CRYPTO_LIBRARY=$opensslPath /libcrypto.a || exit 1
97+ cmake -DCMAKE_BUILD_TYPE=Release ${srcdir} /${repo} -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath /include -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_ROOT_DIR= $opensslPath -DOPENSSL_SSL_LIBRARY= $opensslPath /libssl.a - DOPENSSL_CRYPTO_LIBRARY=$opensslPath /libcrypto.a || exit 1
9898ninja -j ${cpuNumber} fift validator-engine lite-client validator-engine-console generate-random-id dht-server func tonlibjson rldp-http-proxy || exit 1
9999cd ${bindir} /${repo}
100100ls --hide=" *.config.json" | xargs -d ' \n' rm -rf
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ rm -rf $BIN_DIR/openssl_3
103103git clone https://github.com/openssl/openssl $BIN_DIR /openssl_3
104104cd $BIN_DIR /openssl_3
105105opensslPath=` pwd`
106- git checkout openssl-3.1.4
106+ git checkout openssl-3.5
107107./config
108108make build_libs -j$( nproc)
109109
@@ -153,7 +153,7 @@ if [[ "$OSTYPE" =~ darwin.* ]]; then
153153 cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR /ton
154154 fi
155155else
156- cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR /ton -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath /include -DOPENSSL_CRYPTO_LIBRARY=$opensslPath /libcrypto.a
156+ cmake -DCMAKE_BUILD_TYPE=Release $SOURCES_DIR /ton -GNinja -DTON_USE_JEMALLOC=ON -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$opensslPath /include -DOPENSSL_USE_STATIC_LIBS=TRUE -DOPENSSL_ROOT_DIR= $opensslPath -DOPENSSL_SSL_LIBRARY= $opensslPath /libssl.a - DOPENSSL_CRYPTO_LIBRARY=$opensslPath /libcrypto.a
157157fi
158158
159159# Расчитываем количество процессоров для сборки
You can’t perform that action at this time.
0 commit comments