config: Add a --without-python option to build process
authorAndrew Bardsley <Andrew.Bardsley@arm.com>
Thu, 16 Oct 2014 09:49:32 +0000 (05:49 -0400)
committerAndrew Bardsley <Andrew.Bardsley@arm.com>
Thu, 16 Oct 2014 09:49:32 +0000 (05:49 -0400)
commitd8502ee46d356830698d7b96b29e4b27906a2d79
treec7d052a7e276126bd1630658b386ac715f75238d
parenta63ba6c7b7fe6620478c0d8d7812661c6a36d55a
config: Add a --without-python option to build process

Add the ability to build libgem5 without embedded Python or the
ability to configure with Python.

This is a prelude to a patch to allow config.ini files to be loaded
into libgem5 using only C++ which would make embedding gem5 within
other simulation systems easier.

This adds a few registration interfaces to things which cross
between Python and C++.  Namely: stats dumping and SimObject resolving
23 files changed:
SConstruct
src/SConscript
src/base/statistics.cc
src/base/statistics.hh
src/python/SConscript
src/python/m5/stats/__init__.py
src/python/swig/pyobject.cc
src/python/swig/pyobject.hh
src/python/swig/stats.i
src/sim/SConscript
src/sim/debug.cc
src/sim/debug.hh
src/sim/init.cc
src/sim/init.hh
src/sim/init_signals.cc [new file with mode: 0644]
src/sim/init_signals.hh [new file with mode: 0644]
src/sim/main.cc
src/sim/py_interact.cc [new file with mode: 0644]
src/sim/py_interact.hh [new file with mode: 0644]
src/sim/serialize.cc
src/sim/serialize.hh
src/sim/stat_register.cc [new file with mode: 0644]
src/sim/stat_register.hh [new file with mode: 0644]