From cf6b4ef734293e1efdfa015519230703be5d324a Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 11 May 2009 10:38:46 -0700 Subject: ruby: add RUBY sticky option that must be set to add ruby to the build Default is false --- tests/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/SConscript b/tests/SConscript index a44a9a593..b9c08cb14 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -265,8 +265,9 @@ else: configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest', 'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp'] -# Hack for Ruby -configs += [c + '-ruby' for c in configs] +if env['RUBY']: + # Hack for Ruby + configs += [c + '-ruby' for c in configs] cwd = os.getcwd() os.chdir(str(Dir('.').srcdir)) -- cgit v1.2.3