JETSON NANO : When tried to import numba and got below issue.
RuntimeError: Unable to find target for this triple (no targets are registered)
Kernal report : $ uname -m -p -i -o
aarch64 aarch64 aarch64 GNU/Linux
$ file -L which python
python: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=d627ef878f18bc969e1914564d7a2c095c310c6d, stripped
cmake command:
sudo cmake llvm-10.0.1.src/ -DLLVM_TARGETS_TO_BUILD=“ARM” -DLLVM_TARGET_ARCH=ARM -DLLVM_DEFAULT_TARGET_TRIPLE=armv8-linux-gnueabihf -DLLVM_USE_LINKER=gold -DCMAKE_BUILD_TYPE=“Release”
Python version:
import llvmlite
llvmlite. version
‘0.34.0’
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
from llvmlite import binding as ll
print(ll.get_process_triple())
aarch64-unknown-linux-gnu
print(tuple. itemsize )
8
Any help appreciated ! Thanks