Scons: Drop RUBY as compile time option.
This patch drops RUBY as a compile time option. Instead the PROTOCOL option is used to figure out whether or not to build Ruby. If the specified protocol is 'None', then Ruby is not compiled.
This commit is contained in:
@@ -289,16 +289,6 @@ else:
|
||||
'inorder-timing', 'rubytest']
|
||||
|
||||
if env['RUBY']:
|
||||
# With Ruby, A protocol must be specified in the environment
|
||||
assert(env['PROTOCOL'])
|
||||
|
||||
#
|
||||
# Is there a way to determine what is Protocol EnumVariable
|
||||
# default and eliminate the need to hard code the default protocol below?
|
||||
#
|
||||
# If the binary includes the default ruby protocol, run both ruby and
|
||||
# non-ruby versions of the tests. Otherwise just run the ruby versions.
|
||||
#
|
||||
if env['PROTOCOL'] == 'MI_example':
|
||||
configs += [c + "-ruby" for c in configs]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user