From a993544a6bef7ee23c855045ea22a13b7fceebd0 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 7 Nov 2018 00:17:42 -0800 Subject: [PATCH] systemc: Only build python utility code if python is enabled. Change-Id: I58054ddd0d5ef0dbee18028c4218e7418347f959 Reviewed-on: https://gem5-review.googlesource.com/c/13979 Maintainer: Gabe Black Reviewed-by: Andreas Sandberg Reviewed-by: Jason Lowe-Power --- src/systemc/core/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemc/core/SConscript b/src/systemc/core/SConscript index 33e6aafe7..536c181e5 100644 --- a/src/systemc/core/SConscript +++ b/src/systemc/core/SConscript @@ -38,7 +38,6 @@ if env['USE_SYSTEMC']: Source('object.cc') Source('port.cc') Source('process.cc') - Source('python.cc') Source('scheduler.cc') Source('sched_event.cc') Source('sensitivity.cc') @@ -63,4 +62,5 @@ if env['USE_SYSTEMC']: Source('sc_time.cc') if env['USE_PYTHON']: + Source('python.cc') Source('sc_main_python.cc') -- 2.30.2