mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
Test: Add missing files.
This commit is contained in:
parent
27d4080084
commit
f066914968
4 changed files with 0 additions and 28 deletions
17
trunk/3rdparty/ccache/build_ccache.sh
vendored
17
trunk/3rdparty/ccache/build_ccache.sh
vendored
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# check exists.
|
||||
if [[ -f /usr/local/bin/ccache ]]; then
|
||||
echo "ccache is ok";
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
# check sudoer.
|
||||
sudo echo "ok" > /dev/null 2>&1;
|
||||
ret=$?; if [[ 0 -ne ${ret} ]]; then echo "you must be sudoer"; exit 1; fi
|
||||
|
||||
unzip ccache-3.1.9.zip && cd ccache-3.1.9 && ./configure && make
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "build ccache failed."; exit $ret; fi
|
||||
|
||||
sudo cp ccache /usr/local/bin && sudo ln -s ccache /usr/local/bin/gcc && sudo ln -s ccache /usr/local/bin/g++ && sudo ln -s ccache /usr/local/bin/cc && sudo ln -s ccache /usr/local/bin/c++
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "install ccache failed."; exit $ret; fi
|
BIN
trunk/3rdparty/ccache/ccache-3.1.9.zip
vendored
BIN
trunk/3rdparty/ccache/ccache-3.1.9.zip
vendored
Binary file not shown.
11
trunk/3rdparty/ccache/readme.txt
vendored
11
trunk/3rdparty/ccache/readme.txt
vendored
|
@ -1,11 +0,0 @@
|
|||
ccache是samba组织提供的加速编译过程的工具,
|
||||
使用虚拟机编译可以考虑用这个工具,让编译过程飞快。
|
||||
|
||||
链接:
|
||||
http://ccache.samba.org/
|
||||
http://samba.org/ftp/ccache/ccache-3.1.9.tar.xz
|
||||
http://ccache.samba.org/manual.html
|
||||
|
||||
安装方法:
|
||||
bash build_ccache.sh
|
||||
注意:要求以sudoer执行,要修改文件。
|
BIN
trunk/3rdparty/srs-bench/avatar.h264
vendored
Normal file
BIN
trunk/3rdparty/srs-bench/avatar.h264
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue