- Cross compiled TVM runtime for aarch64 with commands in https://Deploy and Integration — tvm 0.8.dev0 documentation. libtvm_runtime.so got generated for aarch64.
- Compiled model with TVMC command using the below command using ‘aarch64-linux-android-gcc’ cross-compiler from NDK.
python3 -m tvm.driver.tvmc compile --target “llvm -device=arm_cpu -mtriple=aarch64-linux-android” --cross-compiler ‘aarch64-linux-android-gcc’ -o resnet50-v2-7-tvm-arm64CPU_android.tar resnet50-v2-7.onnx
The following error is coming:
PermissionError: [Errno 13] Permission denied: ‘aarch64-linux-android-gcc’
Question: How should we specify --cross-compiler to pick the ‘aarch64-linux-android-gcc’ compiler.