huzq85 opened a new issue, #14810:
URL: https://github.com/apache/tvm/issues/14810

   Thanks for participating in the TVM community! We use https://discuss.tvm.ai 
for any general usage questions and discussions. The issue tracker is used for 
actionable items such as feature proposals discussion, roadmaps, and bug 
tracking.  You are always welcomed to post on the forum first :smile_cat:
   
   Issues that are inactive for a period of time may get closed. We adopt this 
policy so that we won't lose track of actionable issues that may fall at the 
bottom of the pile. Feel free to reopen a new one if you feel there is an 
additional problem that needs attention when an old one gets closed.
   
   ### Expected behavior
   
   I suppose no error will be popped up after I set up the MACRO values 
correctly in config.cmake file.
   
   ### Actual behavior
   
   The error message shows up that I need to set up the MACRO values properly, 
even if I've already set them.
   
   ### Environment
   
   Any environment details, such as: OS: Ubuntu 22.02 LTS. TVM source code on 
commit: d1e1b4c8b2ff1ae7cdfbf8823ecffb3c305f078f from the main branch.
   
   ### Steps to reproduce
   
   I am trying to source build the tvm with setting "BACKTRACE_ON_SEGFAULT" to 
on. 
   1. Thus, I set the MACRO "USE_LIBBACKTRACE" to "COMPILE" at lines 353 and 
357 in the file config.cmake as I want to use the 3rdparty backtrace lib. 
   2. Run "cmake" command.
   3. Error messages show up to say that I still need to set the above two 
MACROs.
   
   ### Root Cause
   The root cause is that there are duplicated MACROs for `USE_LIBBACKTRACE` 
and `BACKTRACE_ON_SEGFAULT` in the config.cmake file. One location is at lines 
353/357, and the other is at the lines 391/394.
   
   
   ### Triage
   
   Please refer to the list of label tags 
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the 
relevant tags and add them below in a bullet format (example below).
   
   * needs-triage
   


-- 
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]

Reply via email to