Skip to content

Commit 1971cac

Browse files
authored
Merge pull request #4086 from no1wudi/fix
build_llvm.py: Allow to build xtensa target on non-xtensa host
2 parents 71bc3c2 + 46904dc commit 1971cac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

build-scripts/build_llvm.py

-6
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,6 @@ def build_llvm(llvm_dir, platform, backends, projects, use_clang=False, extra_fl
117117
LLVM_EXTRA_COMPILE_OPTIONS["arc"]
118118
)
119119

120-
if platform != "Xtensa" and "Xtensa" in backends:
121-
print(
122-
"Currently it's not supported to build Xtensa backend on non-Xtensa platform"
123-
)
124-
return None
125-
126120
LLVM_PROJECTS_TO_BUILD = [
127121
'-DLLVM_ENABLE_PROJECTS:STRING="' + ";".join(projects) + '"' if projects else ""
128122
]

0 commit comments

Comments
 (0)