summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-08-02 00:10:08 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-08-02 00:10:08 -0500
commit1b49c56679b18b068e04cfe074bf984897fe656b (patch)
tree200a63d9313333626c7a2138892ce7aaf1f44f35 /src/mem
parent206c2e9a0ee04e00100dde25da9b15cbfbaac0d6 (diff)
downloadgem5-1b49c56679b18b068e04cfe074bf984897fe656b.tar.xz
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.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/protocol/SConsopts13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mem/protocol/SConsopts b/src/mem/protocol/SConsopts
index dac52d742..6a6bd798e 100644
--- a/src/mem/protocol/SConsopts
+++ b/src/mem/protocol/SConsopts
@@ -34,24 +34,15 @@ Import('*')
all_protocols = [
'MESI_CMP_directory',
- 'MESI_SCMP_bankdirectory',
- 'MESI_SCMP_bankdirectory_m',
'MI_example',
'MOESI_CMP_directory',
- 'MOESI_CMP_directory_m',
'MOESI_CMP_token',
- 'MOESI_SMP_directory',
- 'MOESI_SMP_token',
- 'MOSI_SMP_bcast',
- 'MOSI_SMP_bcast_1level',
- 'MOSI_SMP_bcast_m',
- 'MOSI_SMP_directory_1level',
- 'MSI_MOSI_CMP_directory',
'MOESI_hammer',
'Network_test',
+ 'None'
]
-opt = EnumVariable('PROTOCOL', 'Coherence protocol for Ruby', 'MI_example',
+opt = EnumVariable('PROTOCOL', 'Coherence protocol for Ruby', 'None',
all_protocols)
sticky_vars.AddVariables(opt)