You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2022/04/21 09:53:51 UTC

[tvm] branch main updated: [RPC] Don't use existence of USE_HEXAGON_SDK as enablement check (#11080)

This is an automated email from the ASF dual-hosted git repository.

masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 3527241048 [RPC] Don't use existence of USE_HEXAGON_SDK as enablement check (#11080)
3527241048 is described below

commit 3527241048b6e3883ea258fca429513a6e82cbf0
Author: Krzysztof Parzyszek <kp...@quicinc.com>
AuthorDate: Thu Apr 21 04:53:41 2022 -0500

    [RPC] Don't use existence of USE_HEXAGON_SDK as enablement check (#11080)
    
    * [RPC] Don't use existence of USE_HEXAGON_SDK as enablement check
    
    Use USE_HEXAGON to check if Hexagon support is enabled or not.
    
    This fixes https://github.com/apache/tvm/issues/11059.
    
    * Restart CI
---
 apps/cpp_rpc/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/cpp_rpc/CMakeLists.txt b/apps/cpp_rpc/CMakeLists.txt
index 1de0b6ed8a..2fb8923d39 100644
--- a/apps/cpp_rpc/CMakeLists.txt
+++ b/apps/cpp_rpc/CMakeLists.txt
@@ -45,7 +45,7 @@ target_include_directories(
   PUBLIC DMLC_PATH
 )
 
-if (BUILD_FOR_ANDROID AND USE_HEXAGON_SDK)
+if (BUILD_FOR_ANDROID AND USE_HEXAGON)
   get_hexagon_sdk_property("${USE_HEXAGON_SDK}" "${USE_HEXAGON_ARCH}"
     DSPRPC_LIB DSPRPC_LIB_DIRS
   )