Skip to content
Snippets Groups Projects
Commit 85270e29 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

hpvm-clang adds no-exceptions by default

parent 7b143806
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,9 @@ def compile_hpvm_c( ...@@ -40,6 +40,9 @@ def compile_hpvm_c(
): ):
from subprocess import check_output from subprocess import check_output
# FIXME: Added this because Exceptions are not supported in HPVM.
flags = (flags or []) + ["no-exceptions"]
passes = ["LLVMBuildDFG"] passes = ["LLVMBuildDFG"]
pass_flags = ["buildDFG"] pass_flags = ["buildDFG"]
if tensor_target == "tensor": if tensor_target == "tensor":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment