This is an automated email from the ASF dual-hosted git repository.
areusch 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 86781e9 [ETHOSN] Streamline Ethos(TM)-N cross-compile rpc usage
(#9477)
86781e9 is described below
commit 86781e99371663f7c3315f8d98aba273dddb4422
Author: Leo-arm <[email protected]>
AuthorDate: Wed Nov 10 04:02:49 2021 +0000
[ETHOSN] Streamline Ethos(TM)-N cross-compile rpc usage (#9477)
* When cross-compiling the runtime or rpc application, LLVM is not
required so don't insist on it being enabled for Ethos-N.
---
cmake/modules/contrib/EthosN.cmake | 4 ----
1 file changed, 4 deletions(-)
diff --git a/cmake/modules/contrib/EthosN.cmake
b/cmake/modules/contrib/EthosN.cmake
index 6eb5271..44d2a2a 100644
--- a/cmake/modules/contrib/EthosN.cmake
+++ b/cmake/modules/contrib/EthosN.cmake
@@ -20,10 +20,6 @@
if(NOT USE_ETHOSN STREQUAL "OFF")
find_ethosn(${USE_ETHOSN})
- if(NOT DEFINED TVM_LLVM_VERSION)
- message(FATAL_ERROR "Support for offloading to Ethos-N requires LLVM
Support")
- endif()
-
if(NOT ETHOSN_FOUND)
message(FATAL_ERROR "Cannot find Ethos-N, USE_ETHOSN=" ${USE_ETHOSN})