Skip to content

Commit

Permalink
cli: deprecated --solver-parallel (a16z#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
daejunpark authored Jun 24, 2024
1 parent 2283ad4 commit f178dfb
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/halmos/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
internal = "internal"

# groups
debugging, solver, build, experimental = (
debugging, solver, build, experimental, deprecated = (
"Debugging options",
"Solver options",
"Build options",
"Experimental options",
"Deprecated options",
)


Expand Down Expand Up @@ -343,10 +344,6 @@ class Config:
group=solver,
)

solver_parallel: bool = arg(
help="run assertion solvers in parallel", global_default=False, group=solver
)

solver_threads: int = arg(
help="set the number of threads for parallel solvers",
metavar="N",
Expand Down Expand Up @@ -381,6 +378,14 @@ class Config:
group=experimental,
)

### Deprecated

solver_parallel: bool = arg(
help="(Deprecated; no-op; use --solver-threads instead) run assertion solvers in parallel",
global_default=False,
group=deprecated,
)

### Methods

def __getattribute__(self, name):
Expand Down

0 comments on commit f178dfb

Please sign in to comment.