llvmlite: Jetson nano - when import numba -RuntimeError: Unable to find target for this triple (no targets are registered)
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
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (11 by maintainers)
@dhgokul I am SO happy this finally worked for you. Congrats! I’ll close this issue now and please feel free to open a new one in case you hit any more snags. Thanks for remaining persistent and thanks for using Numba!