summaryrefslogtreecommitdiff
path: root/src/python/SConscript
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-03-18 11:47:15 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-03-18 11:47:15 -0700
commitcc14689a86d4a17bc8d8c77a24539d45e7f78da9 (patch)
tree8f26ac204951a13431a3d575095a8e46bf2b9cdf /src/python/SConscript
parent38aa50bb49ac8621fe9cc6a85ad6f39a61c76bb3 (diff)
downloadgem5-cc14689a86d4a17bc8d8c77a24539d45e7f78da9.tar.xz
swig: get rid of m5.internal.random module (swig/random.i)
Thanks to swig this was interfering with the standard Python random module. The only function in that module was seed(), which erroneously called srand48(). Moved the function to m5.internal.core, renamed it seedRandom(), and made it call random_mt.init() instead.
Diffstat (limited to 'src/python/SConscript')
-rw-r--r--src/python/SConscript1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/python/SConscript b/src/python/SConscript
index b213243ff..1c5f08e1a 100644
--- a/src/python/SConscript
+++ b/src/python/SConscript
@@ -65,7 +65,6 @@ PySource('m5.util', 'm5/util/terminal.py')
SwigSource('m5.internal', 'swig/core.i')
SwigSource('m5.internal', 'swig/debug.i')
SwigSource('m5.internal', 'swig/event.i')
-SwigSource('m5.internal', 'swig/random.i')
SwigSource('m5.internal', 'swig/range.i')
SwigSource('m5.internal', 'swig/stats.i')
SwigSource('m5.internal', 'swig/trace.i')