forked from roc-streaming/roc-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New toolcnains: - aarch64-linux-gnu-gcc-10.3 - arm-linux-gnueabihf-gcc-7.4 - arm-linux-gnueabihf-gcc-10.3
- Loading branch information
1 parent
f93fcbd
commit 701a1eb
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
toolchain="aarch64-none-linux-gnu" | ||
compiler="gcc-10.3.1-release" | ||
cpu="cortex-a53" # armv8 | ||
|
||
scons -Q \ | ||
--enable-werror \ | ||
--enable-tests \ | ||
--enable-examples \ | ||
--build-3rdparty=all,pulseaudio:10.0 \ | ||
--host=${toolchain} | ||
|
||
find bin/${toolchain} -name 'roc-test-*' | \ | ||
while read tst | ||
do | ||
LD_LIBRARY_PATH="/opt/sysroot/lib:$(echo \ | ||
"${PWD}"/build/3rdparty/${toolchain}/${compiler}/*/rpath | tr ' ' ':')" \ | ||
python3 scripts/scons_helpers/timeout-run.py 300 \ | ||
qemu-aarch64 -L "/opt/sysroot" -cpu ${cpu} ${tst} | ||
done |
23 changes: 23 additions & 0 deletions
23
scripts/ci_checks/linux-arm/arm-linux-gnueabihf-gcc-10.3.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
toolchain="arm-none-linux-gnueabihf" | ||
compiler="gcc-10.3.1-release" | ||
cpu="cortex-a15" # armv7 | ||
|
||
scons -Q \ | ||
--enable-werror \ | ||
--enable-tests \ | ||
--enable-examples \ | ||
--build-3rdparty=all,pulseaudio:8.0 \ | ||
--host=${toolchain} | ||
|
||
find bin/${toolchain} -name 'roc-test-*' | \ | ||
while read tst | ||
do | ||
LD_LIBRARY_PATH="/opt/sysroot/lib:$(echo \ | ||
"${PWD}"/build/3rdparty/${toolchain}/${compiler}/*/rpath | tr ' ' ':')" \ | ||
python3 scripts/scons_helpers/timeout-run.py 300 \ | ||
qemu-arm -L "/opt/sysroot" -cpu ${cpu} ${tst} | ||
done |
23 changes: 23 additions & 0 deletions
23
scripts/ci_checks/linux-arm/arm-linux-gnueabihf-gcc-7.4.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euxo pipefail | ||
|
||
toolchain="arm-linux-gnueabihf" | ||
compiler="gcc-7.4.1-release" | ||
cpu="cortex-a15" # armv7 | ||
|
||
scons -Q \ | ||
--enable-werror \ | ||
--enable-tests \ | ||
--enable-examples \ | ||
--build-3rdparty=all,pulseaudio:8.0 \ | ||
--host=${toolchain} | ||
|
||
find bin/${toolchain} -name 'roc-test-*' | \ | ||
while read tst | ||
do | ||
LD_LIBRARY_PATH="/opt/sysroot/lib:$(echo \ | ||
"${PWD}"/build/3rdparty/${toolchain}/${compiler}/*/rpath | tr ' ' ':')" \ | ||
python3 scripts/scons_helpers/timeout-run.py 300 \ | ||
qemu-arm -L "/opt/sysroot" -cpu ${cpu} ${tst} | ||
done |