Closed nickovchinnikov closed 1 year ago
Found my fix:
# filter-out used to avoid circular dependency
%/config.cmake: $$(filter-out %/config.cmake,$$(ROOTDIR)/cmake/config.cmake)
@echo "No config.cmake found in $(TVM_BUILD_PATH), using default config.cmake"
@mkdir -p $$(@D)
@cp $$| $$@
Should be fixed in the latest HEAD. Would you like to double check?
Closing due to inactivity. Please feel free to open a new issue with more details if the problem persists.
🐛 Bug
I try to run it on Android following this instruction: https://github.com/mlc-ai/mlc-llm/blob/main/android/README.md But I have an error at the step
make -j
To Reproduce
Steps to reproduce the behavior:
Works fine:
In build/config.cmake, set USE_OPENCL and USE_LLVM as ON
My
build/config.cmake
:make -j
Makefile:62: *** multiple target patterns. Stop.
Makefile:
Expected behavior
Environment
conda
, source):pip
, source): git clone https://github.com/mlc-ai/relax.git --recursivepython -c "import tvm; print('\n'.join(f'{k}: {v}' for k, v in tvm.support.libinfo().items()))"
, applicable if you compile models):Additional context