From 67ba49a5942dd5244539270e81da393683bdc038 Mon Sep 17 00:00:00 2001 From: Leo Blonk Date: Mon, 8 Nov 2021 11:53:24 +0000 Subject: [PATCH] [ETHOSN] Streamline Ethos(TM)-N cross-compile rpc usage * 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 6eb5271f91b9..44d2a2a17ace 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})