/usr/local/llvm/bin/ld.lld: 1:ELF▒4t▒@▒@8: not found /usr/local/llvm/bin/ld.lld: 2: Syntax error: word unexpected (expecting “)”) collect2: error: ld returned 2 exit status xterm-256colormake[2]: *** [CMakeFiles/tvm_runtime.dir/build.make:195: libtvm_runtime.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:983: CMakeFiles/tvm_runtime.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs… /usr/local/llvm/bin/ld.lld: 1:ELF▒4t▒@▒@8: not found /usr/local/llvm/bin/ld.lld: 2: Syntax error: word unexpected (expecting “)”) collect2: error: ld returned 2 exit status make[2]: *** [CMakeFiles/tvm.dir/build.make:1469: libtvm.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:956: CMakeFiles/tvm.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
Can you provide a little more context on how are you trying to install? Are you trying to install from source, and if so, which release/commit? or are you trying a pip install
?
I’m install project from the source code, using the git clone from GitHub. I didn’t use pip operation.
Are you using the latest main branch. If so, could you post the cmake command you’re using or the cmake config to reproduce the error. This looks like an environment setup issue, so we would need some more info to figure out the problem.
I’m happy to help solve this error if you could provide the detailed steps of how you’re building TVM.