Skip to content

Commit

Permalink
[ETHOSN] Streamline Ethos(TM)-N cross-compile rpc usage (apache#9477)
Browse files Browse the repository at this point in the history
* When cross-compiling the runtime or rpc application, LLVM is not
  required so don't insist on it being enabled for Ethos-N.
  • Loading branch information
Leo-arm authored Nov 10, 2021
1 parent 74accec commit 86781e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmake/modules/contrib/EthosN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down

0 comments on commit 86781e9

Please sign in to comment.