mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Remove extraneous change to coz CLI
This commit is contained in:
parent
44d46432c4
commit
537a9e425e
7
coz
7
coz
@ -106,9 +106,6 @@ def _coz_run(args):
|
|||||||
if args.fixed_speedup != None:
|
if args.fixed_speedup != None:
|
||||||
env['COZ_FIXED_SPEEDUP'] = str(args.fixed_speedup)
|
env['COZ_FIXED_SPEEDUP'] = str(args.fixed_speedup)
|
||||||
|
|
||||||
if args.debug_libraries:
|
|
||||||
env['LD_DEBUG'] = 'libs'
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = subprocess.call(args.remaining_args, env=env)
|
result = subprocess.call(args.remaining_args, env=env)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
@ -188,10 +185,6 @@ _run_parser.add_argument('--fixed-speedup',
|
|||||||
type=int, choices=list(range(0, 101)), default=None,
|
type=int, choices=list(range(0, 101)), default=None,
|
||||||
help='Evaluate optimizations of a specific amount')
|
help='Evaluate optimizations of a specific amount')
|
||||||
|
|
||||||
_run_parser.add_argument('--debug-libraries',
|
|
||||||
action='store_true', default=False,
|
|
||||||
help='Debug shared libraries (LD_DEBUG=libs)')
|
|
||||||
|
|
||||||
# Use defaults to recover handler function and parser object from parser output
|
# Use defaults to recover handler function and parser object from parser output
|
||||||
_run_parser.set_defaults(func=_coz_run, parser=_run_parser)
|
_run_parser.set_defaults(func=_coz_run, parser=_run_parser)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user