Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(359)

Delta Between Two Patch Sets: src/core/wscript

Issue 6357056: Generic hash function interface, with two implementations. (Closed)
Left Patch Set: Created 11 years, 9 months ago
Right Patch Set: Respond to review comments Created 11 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« src/core/model/hash.h ('K') | « src/core/test/hash-test-suite.cc ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2 import sys 2 import sys
3 3
4 import Options 4 import Options
5 5
6 import wutils 6 import wutils
7 7
8 def options(opt): 8 def options(opt):
9 opt.add_option('--int64x64-as-double', 9 opt.add_option('--int64x64-as-double',
10 help=('Whether to use a double floating point' 10 help=('Whether to use a double floating point'
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 core = bld.create_ns3_module('core') 101 core = bld.create_ns3_module('core')
102 core.source = [ 102 core.source = [
103 'model/time.cc', 103 'model/time.cc',
104 'model/event-id.cc', 104 'model/event-id.cc',
105 'model/scheduler.cc', 105 'model/scheduler.cc',
106 'model/list-scheduler.cc', 106 'model/list-scheduler.cc',
107 'model/map-scheduler.cc', 107 'model/map-scheduler.cc',
108 'model/heap-scheduler.cc', 108 'model/heap-scheduler.cc',
109 'model/calendar-scheduler.cc', 109 'model/calendar-scheduler.cc',
110 'model/ns2-calendar-scheduler.cc',
111 'model/event-impl.cc', 110 'model/event-impl.cc',
112 'model/simulator.cc', 111 'model/simulator.cc',
113 'model/simulator-impl.cc', 112 'model/simulator-impl.cc',
114 'model/default-simulator-impl.cc', 113 'model/default-simulator-impl.cc',
115 'model/timer.cc', 114 'model/timer.cc',
116 'model/watchdog.cc', 115 'model/watchdog.cc',
117 'model/synchronizer.cc', 116 'model/synchronizer.cc',
118 'model/make-event.cc', 117 'model/make-event.cc',
119 'model/log.cc', 118 'model/log.cc',
120 'model/breakpoint.cc', 119 'model/breakpoint.cc',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 'model/event-id.h', 181 'model/event-id.h',
183 'model/event-impl.h', 182 'model/event-impl.h',
184 'model/simulator.h', 183 'model/simulator.h',
185 'model/simulator-impl.h', 184 'model/simulator-impl.h',
186 'model/default-simulator-impl.h', 185 'model/default-simulator-impl.h',
187 'model/scheduler.h', 186 'model/scheduler.h',
188 'model/list-scheduler.h', 187 'model/list-scheduler.h',
189 'model/map-scheduler.h', 188 'model/map-scheduler.h',
190 'model/heap-scheduler.h', 189 'model/heap-scheduler.h',
191 'model/calendar-scheduler.h', 190 'model/calendar-scheduler.h',
192 'model/ns2-calendar-scheduler.h',
193 'model/simulation-singleton.h', 191 'model/simulation-singleton.h',
194 'model/singleton.h', 192 'model/singleton.h',
195 'model/timer.h', 193 'model/timer.h',
196 'model/timer-impl.h', 194 'model/timer-impl.h',
197 'model/watchdog.h', 195 'model/watchdog.h',
198 'model/synchronizer.h', 196 'model/synchronizer.h',
199 'model/make-event.h', 197 'model/make-event.h',
200 'model/system-wall-clock-ms.h', 198 'model/system-wall-clock-ms.h',
201 'model/empty.h', 199 'model/empty.h',
202 'model/callback.h', 200 'model/callback.h',
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 'model/object-ptr-container.h', 237 'model/object-ptr-container.h',
240 'model/object-vector.h', 238 'model/object-vector.h',
241 'model/object-map.h', 239 'model/object-map.h',
242 'model/deprecated.h', 240 'model/deprecated.h',
243 'model/abort.h', 241 'model/abort.h',
244 'model/names.h', 242 'model/names.h',
245 'model/vector.h', 243 'model/vector.h',
246 'model/default-deleter.h', 244 'model/default-deleter.h',
247 'model/fatal-impl.h', 245 'model/fatal-impl.h',
248 'model/system-path.h', 246 'model/system-path.h',
247 'model/unused.h',
249 'model/hash-function.h', 248 'model/hash-function.h',
250 'model/hash-murmur3.h', 249 'model/hash-murmur3.h',
251 'model/hash-fnv.h', 250 'model/hash-fnv.h',
252 'model/hash.h', 251 'model/hash.h',
253 ] 252 ]
254 253
255 if sys.platform == 'win32': 254 if sys.platform == 'win32':
256 core.source.extend([ 255 core.source.extend([
257 'model/win32-system-wall-clock-ms.cc', 256 'model/win32-system-wall-clock-ms.cc',
258 ]) 257 ])
(...skipping 25 matching lines...) Expand all
284 ]) 283 ])
285 core.source.extend([ 284 core.source.extend([
286 'model/realtime-simulator-impl.cc', 285 'model/realtime-simulator-impl.cc',
287 'model/wall-clock-synchronizer.cc', 286 'model/wall-clock-synchronizer.cc',
288 ]) 287 ])
289 core.use.append('RT') 288 core.use.append('RT')
290 core_test.use.append('RT') 289 core_test.use.append('RT')
291 290
292 if env['ENABLE_THREADING']: 291 if env['ENABLE_THREADING']:
293 core.source.extend([ 292 core.source.extend([
293 'model/system-thread.cc',
294 'model/unix-fd-reader.cc', 294 'model/unix-fd-reader.cc',
295 'model/unix-system-thread.cc',
296 'model/unix-system-mutex.cc', 295 'model/unix-system-mutex.cc',
297 'model/unix-system-condition.cc', 296 'model/unix-system-condition.cc',
298 ]) 297 ])
299 core.use.append('PTHREAD') 298 core.use.append('PTHREAD')
300 core_test.use.append('PTHREAD') 299 core_test.use.append('PTHREAD')
300 core_test.source.extend(['test/threaded-test-suite.cc'])
301 headers.source.extend([ 301 headers.source.extend([
302 'model/unix-fd-reader.h', 302 'model/unix-fd-reader.h',
303 'model/system-mutex.h', 303 'model/system-mutex.h',
304 'model/system-thread.h', 304 'model/system-thread.h',
305 'model/system-condition.h', 305 'model/system-condition.h',
306 ]) 306 ])
307 307
308 if env['ENABLE_GSL']: 308 if env['ENABLE_GSL']:
309 core.use.extend(['GSL', 'GSLCBLAS', 'M']) 309 core.use.extend(['GSL', 'GSLCBLAS', 'M'])
310 core_test.use.extend(['GSL', 'GSLCBLAS', 'M']) 310 core_test.use.extend(['GSL', 'GSLCBLAS', 'M'])
311 core_test.source.extend(['test/rng-test-suite.cc']) 311 core_test.source.extend(['test/rng-test-suite.cc'])
312 312
313 if (bld.env['ENABLE_EXAMPLES']): 313 if (bld.env['ENABLE_EXAMPLES']):
314 bld.add_subdirs('examples') 314 bld.add_subdirs('examples')
315 315
316 pymod = bld.ns3_python_bindings() 316 pymod = bld.ns3_python_bindings()
317 if pymod is not None: 317 if pymod is not None:
318 pymod.source += ['bindings/module_helpers.cc'] 318 pymod.source += ['bindings/module_helpers.cc']
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b