Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't ignore --with-llvm-library in kevm kompile #1965

Merged
merged 6 commits into from
Jul 26, 2023
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions kevm-pyk/src/kevm_pyk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from pyk.kast.outer import KApply, KRewrite
from pyk.kcfg import KCFG, KCFGExplore
from pyk.kore.prelude import int_dv
from pyk.ktool.kompile import LLVMKompileType
from pyk.ktool.krun import KRunOutput, _krun
from pyk.prelude.ml import is_bottom, is_top
from pyk.proof import APRProof
Expand Down Expand Up @@ -103,6 +104,7 @@ def exec_kompile(
o3: bool = False,
debug: bool = False,
enable_llvm_debug: bool = False,
llvm_library: bool = False,
**kwargs: Any,
) -> None:
optimization = 0
Expand All @@ -125,6 +127,7 @@ def exec_kompile(
ccopts=ccopts,
optimization=optimization,
enable_llvm_debug=enable_llvm_debug,
llvm_kompile_type=LLVMKompileType.C if llvm_library else LLVMKompileType.MAIN,
debug=debug,
)

Expand Down