diff options
author | Nathan Binkert <nate@binkert.org> | 2010-07-21 15:53:52 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-07-21 15:53:52 -0700 |
commit | 35184169179ad873b96bc99e5c9bdc4d3dd5ead6 (patch) | |
tree | 6bb30209570a3f8757c94882cc2a5363e0c1998e /util | |
parent | 11bb678a8017bba31c69847ee87212579b6b2f02 (diff) | |
download | gem5-35184169179ad873b96bc99e5c9bdc4d3dd5ead6.tar.xz |
python: Add mechanism to override code compiled into the exectuable
If the user sets the environment variable M5_OVERRIDE_PY_SOURCE to
True, then imports that would normally find python code compiled into
the executable will instead first check in the absolute location where
the code was found during the build of the executable. This only
works for files in the src (or extras) directories, not automatically
generated files.
This is a developer feature!
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions