From d8502ee46d356830698d7b96b29e4b27906a2d79 Mon Sep 17 00:00:00 2001 From: Andrew Bardsley Date: Thu, 16 Oct 2014 05:49:32 -0400 Subject: 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 --- src/sim/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/sim/SConscript') diff --git a/src/sim/SConscript b/src/sim/SConscript index 7d75a9439..7987afa00 100644 --- a/src/sim/SConscript +++ b/src/sim/SConscript @@ -44,9 +44,11 @@ Source('arguments.cc') Source('async.cc') Source('core.cc') Source('debug.cc') +Source('py_interact.cc', skip_no_python=True) Source('eventq.cc') Source('global_event.cc') -Source('init.cc') +Source('init.cc', skip_no_python=True) +Source('init_signals.cc') Source('main.cc', main=True, skip_lib=True) Source('root.cc') Source('serialize.cc') @@ -57,6 +59,7 @@ Source('sub_system.cc') Source('ticked_object.cc') Source('simulate.cc') Source('stat_control.cc') +Source('stat_register.cc', skip_no_python=True) Source('clock_domain.cc') Source('voltage_domain.cc') Source('system.cc') -- cgit v1.2.3