Skip to content

Commit 29bcce4

Browse files
fix the location of riscv in check-artifact.sh, the old version had a bug
Co-authored-by: gong-flying <gongxiaofei24@iscas.ac.cn>
1 parent 0088262 commit 29bcce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/check-artifact.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ checkArch ()
6161
assertEq "$format" "elf64-x86-64" $LINENO
6262
elif [[ "$ARCH" == aarch_64 ]]; then
6363
assertEq "$format" "elf64-little" $LINENO
64-
elif [[ "$ARCH" == loongarch_64 ]]; then
65-
echo $format
6664
elif [[ "$ARCH" == riscv64 ]]; then
6765
assertEq "$format" "elf64-littleriscv" $LINENO
66+
elif [[ "$ARCH" == loongarch_64 ]]; then
67+
echo $format
6868
assertEq "$format" "elf64-loongarch" $LINENO
6969
elif [[ "$ARCH" == ppcle_64 ]]; then
7070
format="$(powerpc64le-linux-gnu-objdump -f "$1" | grep -o "file format .*$" | grep -o "[^ ]*$")"

0 commit comments

Comments
 (0)