mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
AppleM1: Support Apple Silicon M1(aarch64).
This commit is contained in:
parent
b787656eea
commit
f2fa289fe8
24 changed files with 594 additions and 8 deletions
15
trunk/3rdparty/st-srs/Dockerfile.test
vendored
Normal file
15
trunk/3rdparty/st-srs/Dockerfile.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM ossrs/srs:dev-gcc7
|
||||
|
||||
# Install depends tools.
|
||||
RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
||||
|
||||
# Build and install SRS.
|
||||
COPY . /st
|
||||
WORKDIR /st
|
||||
|
||||
# Note that we must enable the gcc7 or link failed.
|
||||
RUN scl enable devtoolset-7 -- make linux-debug-utest
|
||||
|
||||
# Run utest
|
||||
RUN ./obj/st_utest
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue