tdesktop/Telegram/build/docker/centos_env/build.sh

11 lines
242 B
Bash
Raw Normal View History

2020-10-29 09:31:58 +00:00
#!/bin/bash
cd Telegram
2021-03-17 20:29:56 +00:00
scl enable devtoolset-9 -- ./configure.sh "$@"
2020-10-29 09:31:58 +00:00
if [ -n "$DEBUG" ]; then
2021-03-17 20:29:56 +00:00
scl enable devtoolset-9 -- cmake3 --build ../out/Debug -j$(nproc)
2020-10-29 09:31:58 +00:00
else
2021-03-17 20:29:56 +00:00
scl enable devtoolset-9 -- cmake3 --build ../out/Release -j$(nproc)
2020-10-29 09:31:58 +00:00
fi