Jason Lowe-Power has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/71502?usp=email )
Change subject: python: Ignore -s as gem5 option
......................................................................
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 <ja...@lowepower.com>
---
M src/python/m5/main.py
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index a68279b..4701dfa 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -193,6 +193,13 @@
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(
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/71502?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ibb946136d153979bf54a773060010a0ae479a9d1
Gerrit-Change-Number: 71502
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power <power...@gmail.com>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org