sbsv2/raptor/python/raptor_cli.py
branchwip
changeset 29 ee00c00df073
parent 14 45cdac6e50c6
child 219 c3543adfd26e
equal deleted inserted replaced
28:6983dbbe3d70 29:ee00c00df073
   145 
   145 
   146   				  "off"    -  Do not check tool versions whatsoever.
   146   				  "off"    -  Do not check tool versions whatsoever.
   147 
   147 
   148 				  "forced" -  Check all tool versions. Don't use cached results.
   148 				  "forced" -  Check all tool versions. Don't use cached results.
   149 			""")
   149 			""")
       
   150 
       
   151 parser.add_option("--timing",action="store_true",dest="timing",
       
   152 			help="Show extra timing information for various processes in the build.")
       
   153 
   150 parser.add_option("--pp",action="store",dest="parallel_parsing",
   154 parser.add_option("--pp",action="store",dest="parallel_parsing",
   151 				help="""Controls how metadata (e.g. bld.infs) are parsed in Parallel.
   155 				help="""Controls how metadata (e.g. bld.infs) are parsed in Parallel.
   152 					Possible values are:
   156 					Possible values are:
   153 					"on"  - Parse bld.infs in parallel (should be faster on clusters/multicore machines)
   157 					"on"  - Parse bld.infs in parallel (should be faster on clusters/multicore machines)
       
   158 					"slave" - used internally by Raptor 
   154 					"off" - Parse bld.infs serially 
   159 					"off" - Parse bld.infs serially 
   155 				     """)
   160 				     """)
   156 
   161 
   157 parser.add_option("-v","--version",action="store_true",dest="version",
   162 parser.add_option("-v","--version",action="store_true",dest="version",
   158 				help="Print the version number and exit.")
   163 				help="Print the version number and exit.")
   275 				 'ignore_os_detection': Raptor.IgnoreOsDetection,
   280 				 'ignore_os_detection': Raptor.IgnoreOsDetection,
   276 				 'check' :  Raptor.SetCheck,
   281 				 'check' :  Raptor.SetCheck,
   277 				 'what' :  Raptor.SetWhat,
   282 				 'what' :  Raptor.SetWhat,
   278 				 'tries' : Raptor.SetTries,
   283 				 'tries' : Raptor.SetTries,
   279 				 'toolcheck' : Raptor.SetToolCheck,
   284 				 'toolcheck' : Raptor.SetToolCheck,
       
   285 				 'timing' : Raptor.SetTiming,
   280 				 'source_target' : Raptor.AddSourceTarget,
   286 				 'source_target' : Raptor.AddSourceTarget,
   281 				 'command_file' : CommandFile,
   287 				 'command_file' : CommandFile,
   282 				'parallel_parsing' : Raptor.SetParallelParsing,
   288 				'parallel_parsing' : Raptor.SetParallelParsing,
   283 			 	'version' : Raptor.PrintVersion
   289 			 	'version' : Raptor.PrintVersion
   284 				}
   290 				}