OAID / Tengine

Tengine is a lite, high performance, modular inference engine for embedded device
Apache License 2.0
4.65k stars 998 forks source link

rv64 make error #1253

Closed YanxingLiu closed 2 years ago

YanxingLiu commented 2 years ago

I want to build Tengine for allwinnertech D1 SBC. And I follow the instructions in this link https://zhuanlan.zhihu.com/p/368640131. But I got an error of riscv64-unknown-linux-gnu-gcc: error: unrecognized command line option '-mfp16'. image

I have tried to delete flag -mfp16 in toolchains/rv64-c906.toolchain.cmake, but it still did not work.

BUG1989 commented 2 years ago

@nihui Please help us......

YanxingLiu commented 2 years ago

I fixed this issue by changing compling toolchain. the toolchain URL is: https://occ.t-head.cn/community/download?id=3890532453097742336