Hi there! I was trying Polygeist to lower PolyBench C code to MLIR SCF dialect. I tried gemm.c as the input but it crashed. I am using macOS Ventura 13.7 and Apple Silicon. Here is the command.
For ninja check-cgeist, most of the failure were caused by the error of 'stdio.h' file not found. That's why in the first gemm.c test I used the -I option to include macOS's standard C headers.
After some attempts and discussion, I feel that this problem would only happen on macOS. A Linux server would work fine. Please check this thread from LLVM forum.
Hi there! I was trying Polygeist to lower PolyBench C code to MLIR SCF dialect. I tried gemm.c as the input but it crashed. I am using macOS Ventura 13.7 and Apple Silicon. Here is the command.
Before this test, there were also some failed tests after building Polygeist as the follows.
For
ninja check-cgeist
, most of the failure were caused by the error of'stdio.h' file not found
. That's why in the firstgemm.c
test I used the-I
option to include macOS's standard C headers.I have tried built Polygeist by both option 1 and option 2, and have tried branches
main
,cgo24
andivanradanov-patch-1
, but the problem remained.I was wondering if I had done something wrong. Any suggestions would be appreciated. Thank you for your time!