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/python/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python/SConscript') diff --git a/src/python/SConscript b/src/python/SConscript index b2c95b88b..7e9380d85 100644 --- a/src/python/SConscript +++ b/src/python/SConscript @@ -31,8 +31,8 @@ Import('*') -Source('swig/pyevent.cc') -Source('swig/pyobject.cc') +Source('swig/pyevent.cc', skip_no_python=True) +Source('swig/pyobject.cc', skip_no_python=True) PySource('', 'importer.py') PySource('m5', 'm5/__init__.py') -- cgit v1.2.3