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

cli: deprecated --solver-parallel #314

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all 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
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
Loading