readme
This commit is contained in:
parent
e791d8ba28
commit
d0e61442d0
|
@ -20,7 +20,6 @@ apt-get install -y tdlib-dev
|
||||||
```bash
|
```bash
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
bc \
|
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
|
@ -33,9 +32,9 @@ apt-get install -y \
|
||||||
git clone --depth 1 -b "v1.3.0" "https://github.com/tdlib/td.git" ./tdlib-src
|
git clone --depth 1 -b "v1.3.0" "https://github.com/tdlib/td.git" ./tdlib-src
|
||||||
mkdir ./tdlib-src/build
|
mkdir ./tdlib-src/build
|
||||||
cd ./tdlib-src/build
|
cd ./tdlib-src/build
|
||||||
cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) --build .
|
cmake --build .
|
||||||
make -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) install
|
make install
|
||||||
rm -rf ./../../tdlib-src
|
rm -rf ./../../tdlib-src
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue