cpc / openasip

Open Application-Specific Instruction Set processor tools (OpenASIP)
http://openasip.org
Other
138 stars 41 forks source link

Installation issues #226

Open YiminGao0113 opened 1 year ago

YiminGao0113 commented 1 year ago

Hi,

I tried to install openasip, I installed riscv toolchains and configured them as requested. But the following issues occur:

LLC: error: unable to get target for ‘riscv32-unknown-unknown’, see --version and --triple

I have checked that the riscv32 toolchain is already in the path. But I don't know why the script asks me to use these commands with two 'unknown'. Could you please comment on this? Thanks!

pjaaskel commented 1 year ago

Did you install LLVM with the installer script and are sure it's found in PATH first? This sounds that you are using an LLVM which doesn't have the riscv backend built-in.