Hi,
I’m trying to get stuff in this article to work: TVM open source compiler now includes initial support for Qualcomm Hexagon DSP - Qualcomm Developer Network
But it seems that the build breaks in main branch, and it breaks in a way that I can’t fix…
Here is the reproduce step:
commit id: 7a6281e600e9796ec41e89b59f3736d455ee8255
mkdir build-hexagon
cd build-hexagon
cmake
-DCMAKE_C_COMPILER=/path/to/hexagon-clang
-DCMAKE_CXX_COMPILER=/path/to/hexagon-clang++
-DCMAKE_CXX_FLAGS='-stdlib=libc++
-I/path/to/computev66/include/posix
-I/path/to/computev66/include/qurt
-I/path/to/Hexagon_SDK/3.5.4/incs'
-DUSE_HEXAGON_ARCH=v66
-DUSE_RPC=OFF
-DUSE_LLVM=OFF
-DUSE_LIBBACKTRACE=OFF
-DUSE_HEXAGON_DEVICE=OFF
-DUSE_HEXAGON_SDK=/path/to/Hexagon_SDK/3.5.4
..
make runtime
To bypass the issue, I switched back to a commit before hexagon_user_dma added:
f93b0c21d4433308b492e0e68d16277ec88b1ebf
Now at lease the build works. I can get the libtvm_runtime.so: ELF 32-bit LSB pie executable, QUALCOMM DSP6, version 1 (SYSV), dynamically linked, not stripped.
Could anyone help this, thanks a lot!