Skip to content

Commit

Permalink
added new toolchains for ARM+GCC
Browse files Browse the repository at this point in the history
New toolcnains:
- aarch64-linux-gnu-gcc-10.3
- arm-linux-gnueabihf-gcc-7.4
- arm-linux-gnueabihf-gcc-10.3
  • Loading branch information
adrianopol committed Jun 23, 2024
1 parent f93fcbd commit 701a1eb
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,18 @@ jobs:
- script: linux-arm/aarch64-linux-gnu-gcc-7.4
image: rocstreaming/toolchain-aarch64-linux-gnu:gcc-7.4

- script: linux-arm/aarch64-linux-gnu-gcc-10.3
image: rocstreaming/toolchain-aarch64-linux-gnu:gcc-10.3

- script: linux-arm/arm-linux-gnueabihf-gcc-4.9
image: rocstreaming/toolchain-arm-linux-gnueabihf:gcc-4.9

- script: linux-arm/arm-linux-gnueabihf-gcc-7.4
image: rocstreaming/toolchain-arm-linux-gnueabihf:gcc-7.4

- script: linux-arm/arm-linux-gnueabihf-gcc-10.3
image: rocstreaming/toolchain-arm-linux-gnueabihf:gcc-10.3

- script: linux-arm/arm-bcm2708hardfp-linux-gnueabi-gcc-4.7
image: rocstreaming/toolchain-arm-bcm2708hardfp-linux-gnueabi:gcc-4.7

Expand Down
23 changes: 23 additions & 0 deletions scripts/ci_checks/linux-arm/aarch64-linux-gnu-gcc-10.3.sh
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 scripts/ci_checks/linux-arm/arm-linux-gnueabihf-gcc-10.3.sh
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 scripts/ci_checks/linux-arm/arm-linux-gnueabihf-gcc-7.4.sh
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

0 comments on commit 701a1eb

Please sign in to comment.