diff --git a/build-scripts/build_llvm.py b/build-scripts/build_llvm.py index ec6bb3954..d44afd7ba 100755 --- a/build-scripts/build_llvm.py +++ b/build-scripts/build_llvm.py @@ -117,12 +117,6 @@ def build_llvm(llvm_dir, platform, backends, projects, use_clang=False, extra_fl LLVM_EXTRA_COMPILE_OPTIONS["arc"] ) - if platform != "Xtensa" and "Xtensa" in backends: - print( - "Currently it's not supported to build Xtensa backend on non-Xtensa platform" - ) - return None - LLVM_PROJECTS_TO_BUILD = [ '-DLLVM_ENABLE_PROJECTS:STRING="' + ";".join(projects) + '"' if projects else "" ]