diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-02-13 11:32:23 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2019-02-26 10:27:07 +0000 |
commit | c38a6523ab4df2b57337be0b2446bd9d30be94b4 (patch) | |
tree | 5368ad678884e60d740226a6a5f459b9065ba08b /configs/example/garnet_synth_traffic.py | |
parent | 8138663e2f569f1ca9c236c623278cc395045f2a (diff) | |
download | gem5-c38a6523ab4df2b57337be0b2446bd9d30be94b4.tar.xz |
scons: Marshal Python sources using the same Python as gem5
We currently use the Python version used by scons to marshal Python
code. This doesn't work when building gem5 with Python 3 support since
scons typically runs in Python 2.7. Add a custom marshal helper that
links with the same library as gem5 to generate byte code that is
guaranteed to work in gem5's Python interpreter.
Change-Id: I665b0f2078726d4c055d74a3e668a580fc613b59
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/16422
Reviewed-by: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'configs/example/garnet_synth_traffic.py')
0 files changed, 0 insertions, 0 deletions