if env['USE_SSE2']:
env.Append(CCFLAGS=['-msse2'])
- if env['PROTOCOL'] != 'None':
- env['RUBY'] = True
- else:
- env['RUBY'] = False
-
# The src/SConscript file sets up the build rules in 'env' according
# to the configured variables. It returns a list of environments,
# one for each variant build (debug, opt, etc.)
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyDirectedTester.py')
# When this dependency is removed, the ruby tester should be compiled
# independently from Ruby
#
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('RubyTester.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
protocol_dir = Dir('.')
if env['TARGET_ISA'] == 'no':
Return()
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
def do_embed_text(target, source, env):
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('MessageBuffer.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('Address.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('RubyEventQueue.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('BlockBloomFilter.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('BasicLink.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('BaseGarnetNetwork.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('GarnetLink_d.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('GarnetLink.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('Arbiter.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('AmpUnit.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('Crossbar.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
Source('NetworkPower.cc')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('SimpleLink.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
PySource('', 'Crossbar.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('Profiler.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('Tracer.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('Controller.py')
Import('*')
-if not env['RUBY']:
+if env['PROTOCOL'] == 'None':
Return()
SimObject('Cache.py')
'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp',
'inorder-timing', 'rubytest']
-if env['RUBY']:
+if env['PROTOCOL'] != 'None':
if env['PROTOCOL'] == 'MI_example':
configs += [c + "-ruby" for c in configs]
else: