mirror of https://github.com/ossrs/srs.git
add gprof files and dot files
parent
6e0bebdacf
commit
42ad264182
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# check exists.
|
||||
if [[ -d graphviz-2.18 ]]; then
|
||||
echo "graphviz 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
|
||||
|
||||
tar xf graphviz-2.18.tar.gz
|
||||
cd graphviz-2.18 && ./configure && make && sudo make install
|
||||
ret=$?; if [[ $ret -ne 0 ]]; then echo "build gprof2dot failed."; exit $ret; fi
|
||||
|
||||
echo "we test in Centos6.0, it's ok"
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Loading…
Reference in New Issue