cconvey commented on code in PR #11189:
URL: https://github.com/apache/tvm/pull/11189#discussion_r864959425


##########
apps/hexagon_api/CMakeLists.txt:
##########
@@ -30,6 +30,11 @@ ExternalProject_Add(x86_tvm_runtime_rpc
   SOURCE_DIR "${TVM_SOURCE_DIR}"
   BUILD_COMMAND $(MAKE) runtime tvm_rpc
   CMAKE_ARGS
+    "-DUSE_CCACHE=${USE_CCACHE}"
+    "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}"
+    "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}"

Review Comment:
   > what happens if USE_CCACHE is OFF and CMAKE_C_COMPILER_LAUNCHER is not set 
as well?
   
   In that case, the external project will just use the C/C++ compiler in the 
normal, straightforward way.  It won't make any attempt to use ccache.



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