how can I install OpenBLAS for cross compile with XuanTie C906 which is risc-v architecture?

19 views
Skip to first unread message

普某人

unread,
Dec 9, 2022, 10:50:50 AM12/9/22
to OpenBLAS-users
I use this command:
make CC=/home/yamato/crosschain_middle/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.0/bin/riscv64-unknown-linux-gnu-gcc FC=/home/yamato/crosschain_middle/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.0/bin/riscv64-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=XuanTiec906
I adapt it from the example in README,however I don't know how I choose the TARGET?It responds me that ''Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.''
Reply all
Reply to author
Forward
0 new messages