-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug
Description
- It reports missing libtvm_allvisible.so/libtvm.so when I compile the tvm base on the source according https://tvm.hyper.ai/docs/install/from_source/
[100%] Linking CXX shared library libtvm_runtime.so
[100%] Built target tvm_objs
make[2]: *** No rule to make target '/usr/lib/llvm-14/lib/libPolly.a', needed by 'libtvm_allvisible.so'. Stop.
make[2]: *** No rule to make target '/usr/lib/llvm-14/lib/libPolly.a', needed by 'libtvm.so'. Stop.
make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/tvm_allvisible.dir/all] Error 2
- I try both the config set(USE_CUDA OFF) and set(USE_CUDA ON), they have the same errors
Expected behavior
compile successfully and get libtvm.so and libtvm_runtime.so
Actual behavior
Environment (83, gpu machine)
Linux version 5.15.0-46-generic (buildd@lcy02-amd64-007) (gcc (Ubuntu 9.4.0-1ubuntu1
20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #4920.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 (cat /proc/version)
Steps to reproduce
accord https://tvm.hyper.ai/docs/install/from_source/
git clone --recursive https://github.com/apache/tvm tvm --depth=1
git fetch --update-shallow
mkdir build
cp cmake/config.cmake build
cmake ..
make -j
Metadata
Metadata
Assignees
Labels
needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address itPRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

