You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "tqchen (via GitHub)" <gi...@apache.org> on 2025/07/21 12:03:20 UTC
Re: [PR] [RELAX][PASS] Annotate Custom Scope layout pass for Adreno GPU [tvm]
tqchen commented on code in PR #17599:
URL: https://github.com/apache/tvm/pull/17599#discussion_r2218992901
##########
ffi/cmake/Utils/AddLibbacktrace.cmake:
##########
@@ -26,6 +26,10 @@ function(_libbacktrace_compile)
set(_cmake_c_compiler "${CMAKE_C_COMPILER}")
endif()
+ if(DEFINED CMAKE_C_COMPILER_TARGET)
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --target=${CMAKE_C_COMPILER_TARGET}")
Review Comment:
this seems to be unintended change, we should not make it as a general CFLAGS, seems somehting either should be set when invoking tvm cmake, or passed through into the CONFIGURE command in ExternalProject_Add below
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org