Skip to content

Commit df1f512

Browse files
build: aarch64 support in linux test runner
1 parent 4db6fce commit df1f512

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

scripts/test.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
shopt -s extglob
44

55
ORIGIN=$PWD
6-
STATIC_DEPS=$ORIGIN/static-deps/lib-x86-64/lib
6+
7+
if [[ "$ARCH" == "x86_64" ]]; then
8+
STATIC_DEPS=$ORIGIN/static-deps/lib-x86-64/lib
9+
elif [[ "$ARCH" == "aarch64" ]]; then
10+
STATIC_DEPS=$ORIGIN/static-deps/lib-aarch64/lib
11+
else
12+
echo "Unsupported arch: $ARCH"
13+
exit 1
14+
fi
15+
716
BUILD=testbuild
817

918
BAKDIR=$STATIC_DEPS/bak

0 commit comments

Comments
 (0)