How to modify a file under src/python and run it without rebuilding in gem5?

后端 未结 1 1362
我在风中等你
我在风中等你 2021-01-27 20:24

If you modify a file under src/python, then a rebuild is necessary, unlike modifications to configs/

That makes making changes under that direc

相关标签:
1条回答
  • 2021-01-27 20:27

    M5_OVERRIDE_PY_SOURCE=true

    If you export that environment variable for the run, and gem5 uses the Python source code directly.

    This likely exists because by default, gem5 packs up Python object files inside the gem5.opt binary so allows users to run it without changing their PYTHON_PATH.

    How M5_OVERRIDE_PY_SOURCE works is described here at 252dd80.

    Tested on: https://gem5.googlesource.com/public/gem5/+/91295ff980c17efb3ad013b9636017b58e49c071

    0 讨论(0)
提交回复
热议问题