junrushao1994 commented on a change in pull request #7153:
URL: https://github.com/apache/tvm/pull/7153#discussion_r572303952



##########
File path: tests/scripts/task_build.sh
##########
@@ -16,4 +16,4 @@
 # specific language governing permissions and limitations
 # under the License.
 export VTA_HW_PATH=`pwd`/3rdparty/vta-hw
-cd $1 && cmake .. && make $2 && cd ..
+cd $1 && cmake .. -DCMAKE_BUILD_TYPE=Debug && make $2 && cd ..

Review comment:
       Yeah i think it makes sense to have a clear backtrace in CI, but it also 
occurs to me that some bugs may not always appear in Debug mode, for example, 
mistakenly returning a reference to a stack variables. Given that we use 
Release mode in production, it is good that the CI aligns well.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to