mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support disable valgrind
This commit is contained in:
parent
89a5fa69d1
commit
cdfded6a74
5 changed files with 96 additions and 114 deletions
|
@ -72,6 +72,8 @@ SRS_MEM_WATCH=NO
|
|||
SRS_EXPORT_LIBRTMP_PROJECT=NO
|
||||
# export the srs-librtmp to a single .h and .c, NO to disable it.
|
||||
SRS_EXPORT_LIBRTMP_SINGLE=NO
|
||||
# valgrind
|
||||
SRS_VALGRIND=YES
|
||||
#
|
||||
################################################################
|
||||
# presets
|
||||
|
@ -201,6 +203,7 @@ Experts:
|
|||
--memory-watch enable memory watch to detect memory leaking(hurts performance).
|
||||
--export-librtmp-project=<path> export srs-librtmp to specified project in path.
|
||||
--export-librtmp-single=<path> export srs-librtmp to a single file(.h+.cpp) in path.
|
||||
--no-valgrind donot support valgrind for memory check.
|
||||
|
||||
Workflow:
|
||||
1. apply "Presets". if not specified, use default preset.
|
||||
|
@ -290,6 +293,7 @@ function parse_user_option() {
|
|||
--memory-watch) SRS_MEM_WATCH=YES ;;
|
||||
--export-librtmp-project) SRS_EXPORT_LIBRTMP_PROJECT=${value} ;;
|
||||
--export-librtmp-single) SRS_EXPORT_LIBRTMP_SINGLE=${value} ;;
|
||||
--no-valgrind) SRS_VALGRIND=NO ;;
|
||||
|
||||
--with-http-callback) SRS_HTTP_CALLBACK=YES ;;
|
||||
--with-http-api) SRS_HTTP_API=YES ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue