Skip to content

Commit

Permalink
add obsolete arguments back
Browse files Browse the repository at this point in the history
  • Loading branch information
Forthoney authored and YUUU23 committed Jun 11, 2024
1 parent 6e0df62 commit b9f137f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions compiler/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ def _get_width():

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.add_argument(
"-t",
"--output_time", # FIXME: --time
help="(obsolete, time is always logged now) output the time it took for every step",
action="store_true",
)
self.add_argument(
"-d",
"--debug",
Expand Down Expand Up @@ -106,6 +112,37 @@ def add_pash_args(self):
)

self.add_experimental_args()
self.add_obsolete_args()

def add_obsolete_args(self):
self.add_argument(
"--no_daemon",
help="(obsolete) does nothing -- Run the compiler everytime we need a compilation instead of using the daemon",
action="store_true",
default=False,
)
self.add_argument(
"--parallel_pipelines",
help="(obsolete) Run multiple pipelines in parallel if they are safe to run. Now true by default. See --no_parallel_pipelines.",
action="store_true",
default=True,
)
self.add_argument(
"--r_split",
help="(obsolete) does nothing -- only here for old interfaces (not used anywhere in the code)",
action="store_true",
)
self.add_argument(
"--dgsh_tee",
help="(obsolete) does nothing -- only here for old interfaces (not used anywhere in the code)",
action="store_true",
)
self.add_argument(
"--speculation",
help="(obsolete) does nothing -- run the original script during compilation; if compilation succeeds, abort the original and run only the parallel (quick_abort) (Default: no_spec)",
choices=["no_spec", "quick_abort"],
default="no_spec",
)

def add_experimental_args(self):
self.add_argument(
Expand Down

0 comments on commit b9f137f

Please sign in to comment.