Closed medbzkst closed 9 months ago
There's not enough info in the report from check-aie
to diagnose. Can you put ARGS "-vv --timeout 600"
here. Also you can try rerunning cmake but with AIE_ENABLE_GENERATE_CDO_DIRECT=OFF
.
I see that a big part of what is happening is that clang is not finding the includes and libs of aarch64 under $MLIR-AIE/build/runtime_lib
. Only x86_64 is there, whereas aarch64 is the one that is required with the tutorials. Given that I followed the Build and Test workflow (Release), isn't it expected to get that compiled?
I see that a big part of what is happening is that clang is not finding the includes and libs of aarch64 under
$MLIR-AIE/build/runtime_lib
. Only x86_64 is there, whereas aarch64 is the one that is required with the tutorials. Given that I followed the Build and Test workflow (Release), isn't it expected to get that compiled?
The check-tutorials
and check-aie
issue are distinct. Unfortunately I am not familiar with the cross-compilation paths (and thus the tutorials) but indeed they are not tested in CI (despite appearances) since the runners don't have vitis etc on them.
I understand. I kind of solved the issue here (even though I have some failing tests when check-aie
-ing it).
Long story short, compiling by mimicking the CI is not the best option. But the CI helps tremendously prepare the compilation tools that would get hours lost (especially by moving to g++-11 and getting the exact and right MLIR-distro). However, after setting those up, the best option to compile is by using ./utils/build-mlir-aie.sh
and by targeting either aarch64
or x86_64
here.
For reference, by keeping it aarch64
as is, the problem has been solved. I ,however, changed it to x86_64
to have it executed on my machine and because I am targeting VCK5000 and not VCK190 anyway.
I tried to launch check-aie and check-tutorials after finishing the build, and several errors occurred.
I tried then to compile one tutorial manually, tutorial-1 actually. I have got in result this example error
Here is also a few sample lines from the check-aie
Any thoughts about what dependencies that might have got lost on the way?