1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246)

1. Replase ln by cp for windows.
2. Refine OS and CPU arch detecting.
3. Support configure from any directory by `SRS_WORKDIR`.
4. Support output to any directory by `SRS_OUTPUT`.
5. Disable sanitizer for gperf.
6. Use parallels build for make.
7. Refine bash variable check.
This commit is contained in:
wenjie.zhao 2022-11-18 23:02:35 +08:00 committed by winlin
parent 368356c223
commit e9503a9c9a
13 changed files with 535 additions and 555 deletions

View file

@ -1,12 +1,12 @@
#!/bin/bash
# In .circleci/config.yml, generate *.gcno with
# ./configure --gcov --without-research --without-librtmp && make utest
# ./configure --gcov && make utest
# and generate *.gcda by
# ./objs/srs_utest
# Workdir is objs/cover.
workdir=`pwd`/objs/cover
workdir=$(cd `dirname $0`/.. && pwd)/objs/cover
# Create trunk under workdir.
mkdir -p $workdir && cd $workdir