Skip to content

Commit

Permalink
Merge branch 'master' into jh/cse-with-merging-node
Browse files Browse the repository at this point in the history
  • Loading branch information
palinatolmach authored Dec 9, 2024
2 parents e91f443 + d8dad9e commit 0590f72
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/kontrol/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,13 @@ def parse(s: str) -> list[T]:
config_args.config_args,
],
)
build.add_argument(
'--no-O2',
dest='o2',
default=None,
action='store_false',
help='Do not use optimization level 2.',
)
build.add_argument(
'--regen',
dest='regen',
Expand Down
1 change: 1 addition & 0 deletions src/kontrol/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ class BuildOptions(LoggingOptions, KOptions, KGenOptions, KompileOptions, Foundr
@staticmethod
def default() -> dict[str, Any]:
return {
'o2': True,
'regen': False,
'rekompile': False,
'forge_build': True,
Expand Down
1 change: 1 addition & 0 deletions src/kontrol/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def kontrol_toml_file_contents() -> str:
require = 'lemmas.k'
module-import = 'TestBase:KONTROL-LEMMAS'
auxiliary-lemmas = true
o2 = true
[prove.default]
foundry-project-root = '.'
Expand Down

0 comments on commit 0590f72

Please sign in to comment.