isolateFeng opened a new issue, #12896: URL: https://github.com/apache/tvm/issues/12896
### problem [ 17%] Linking CXX shared library libtvm_runtime.so g++: error: unrecognized command line option ‘-fuse-ld=lld’; did you mean ‘-fuse-ld=bfd’? make[2]: *** [libtvm_runtime.so] Error 1 make[1]: *** [CMakeFiles/tvm_runtime.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ### my operation step mkdir build cp cmake/config.cmake build set(USE_LLVM "/tools/cluster-software/llvm/llvm-9.0.1/bin/llvm-config --link-static") set(HIDE_PRIVATE_SYMBOLS ON) set(USE_RELAY_DEBUG ON) set(USE_TARGET_ONNX ON) set(USE_PT_TVMDSOOP ON) cd build cmake .. make -j24 ### environment - CentOS7 - llvm-9.0.1 - gcc-7.5.0 - cmake-3.15.7 $ gcc --version gcc (GCC) 7.5.0 $ clang -v clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /tools/cluster-software/llvm/llvm-9.0.1/bin Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2 Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 ### I think I should change the llvm's Selected GCC installation but I don't know how to change it when input the command `cmake ..` or `make -j24` when I input `cmake ..`, $ cmake .. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 ... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
