Closed IEAST closed 3 years ago
That is really strange. As, the makefile checks if the CPU support any of the sse optimisations in /proc/cpuinfo If not, it defaults to empty the SSE_CFLAGS anyway. So I wonder why that seems to not work with your riscv64, if not supported, there shouldn't been any sse flags set. What is the output of your /proc/cpuinfo
Thank you for your reply. I probably know why, currently I am using Qemu again to simulate the RISC-V environment for compilation, so the CPU information read is local (Ps: my computer's cpu information). I'll try to compile it in unmatched later.
You could overwrite the SSE_CFLAGS simply on command-line in that case:
make SSE_CFLAGS=""
to avoid reading the CPU information from your local host.
thank you. I will close my pr.
When I tried to build Xmonk, I found that it was optimized for intel cup.
But there is no corresponding parameter defined on RISC-V, so I decided not to add CFLAGS if the architecture is RISC-V in the Mikefile.