You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by driazati via Apache TVM Discuss <no...@discuss.tvm.ai> on 2022/03/04 00:27:13 UTC

[Apache TVM Discuss] [Questions] Installation of Cmake


Are you following the instructions here: https://tvm.apache.org/docs/install/from_source.html?

Assuming you have the `cmake` executable installed, the instructions assume you are working from inside a git checkout of TVM, so:

```bash
git clone https://github.com/apache/tvm.git
cd tvm
```

then you will find the referenced `cmake/config.cmake` (i.e. [this file](https://github.com/apache/tvm/blob/main/cmake/config.cmake)). 

To enable debug mode for relay (i.e. to use `TVM_LOG_DEBUG`), you must build with the `USE_RELAY_DEBUG` flag on. So either add `set(USE_RELAY_DEBUG ON)` to the end of your cmake config or invoke cmake with `cmake -DUSE_RELAY_DEBUG=ON ..`





---
[Visit Topic](https://discuss.tvm.apache.org/t/installation-of-cmake/12189/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/32c37dc38ae444273b3a7e410bee78640c48155009519690b98ac15ef9485b49).