Skip to content

Commit

Permalink
Add LoongArch64 support
Browse files Browse the repository at this point in the history
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
  • Loading branch information
huajingyun01 authored and markt-asf committed May 14, 2024
1 parent 086ee66 commit d8c956d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/native/unix/support/apsupport.m4
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
HOST_CPU=riscv64
;;
loongarch64)
CFLAGS="$CFLAGS -DCPU=\\\"loongarch64\\\""
HOST_CPU=loongarch64
;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
Expand Down

0 comments on commit d8c956d

Please sign in to comment.