python: Ignore -s as gem5 option

This enables more compatibility with the normal python binary. This is
needed to get multiprocessing to work on some systems.

Change-Id: Ibb946136d153979bf54a773060010a0ae479a9d1
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71518
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Jason Lowe-Power
2023-06-12 15:31:04 -07:00
committed by Bobby Bruce
parent f78471fb81
commit d89ba08eb0

View File

@@ -193,6 +193,13 @@ def parse_options():
callback=collect_args,
)
option(
"-s",
action="store_true",
help="IGNORED, only for compatibility with python. don't"
"add user site directory to sys.path; also PYTHONNOUSERSITE",
)
# Statistics options
group("Statistics Options")
option(