You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2025/04/17 00:55:12 UTC
(tvm) 06/06: Fix hexagon build
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch refactor-s1
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 0b9145651c06535fc35b72a9449c8f400a94667b
Author: tqchen <ti...@gmail.com>
AuthorDate: Wed Apr 16 20:54:06 2025 -0400
Fix hexagon build
---
CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 495b3b19fd..d5ff6a350c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -131,7 +131,6 @@ include_directories(SYSTEM ${DMLC_PATH})
include_directories(SYSTEM ${RANG_PATH})
include_directories(SYSTEM ${COMPILER_RT_PATH})
include_directories(SYSTEM ${PICOJSON_PATH})
-add_subdirectory(ffi)
# initial variables
set(TVM_LINKER_LIBS "")
@@ -571,6 +570,9 @@ if(USE_IOS_RPC)
add_subdirectory("apps/ios_rpc")
endif()
+add_subdirectory(ffi)
+
+
if(TVM_DEBUG_WITH_ABI_CHANGE)
message(STATUS "Building with debug code that may cause ABI changes...")
target_compile_definitions(tvm_objs PRIVATE "TVM_DEBUG_WITH_ABI_CHANGE")