hyperf-sms/.travis/swoole.install.sh

11 lines
315 B
Bash
Raw Normal View History

2022-04-08 03:07:41 +00:00
#!/usr/bin/env bash
wget https://github.com/swoole/swoole-src/archive/v"${SW_VERSION}".tar.gz -O swoole.tar.gz
mkdir -p swoole
tar -xf swoole.tar.gz -C swoole --strip-components=1
rm swoole.tar.gz
cd swoole || exit
phpize
./configure --enable-openssl --enable-mysqlnd --enable-http2
make -j "$(nproc)"
make install