sbsv2/raptor/python/raptor_cli.py
branchwip
changeset 11 ea23b18a2ff6
parent 5 593a8820b912
child 14 45cdac6e50c6
equal deleted inserted replaced
8:34d87ffcc373 11:ea23b18a2ff6
    85 				help="Name of the make engine which runs the build.")
    85 				help="Name of the make engine which runs the build.")
    86 
    86 
    87 parser.add_option("--export-only",action="store_true",dest="doExportOnly",
    87 parser.add_option("--export-only",action="store_true",dest="doExportOnly",
    88 				help="Generate exports only and do not create any make files.")
    88 				help="Generate exports only and do not create any make files.")
    89 
    89 
       
    90 parser.add_option("--noexport",action="store_false",dest="doExport",
       
    91 				help="Don't export any files - useful in some builds when you know exports have already been done.")
       
    92 
    90 parser.add_option("-f","--logfile",action="store",dest="logfile",
    93 parser.add_option("-f","--logfile",action="store",dest="logfile",
    91 				help="Name of the log file, or '-' for stdout.")
    94 				help="Name of the log file, or '-' for stdout.")
    92 
    95 
    93 parser.add_option("--filters",action="store",dest="filter_list",
    96 parser.add_option("--filters",action="store",dest="filter_list",
    94 				help="Comma-separated list of names of the filters to use (case sensitive).")
    97 				help="Comma-separated list of names of the filters to use (case sensitive).")
   146 			""")
   149 			""")
   147 parser.add_option("--pp",action="store",dest="parallel_parsing",
   150 parser.add_option("--pp",action="store",dest="parallel_parsing",
   148 				help="""Controls how metadata (e.g. bld.infs) are parsed in Parallel.
   151 				help="""Controls how metadata (e.g. bld.infs) are parsed in Parallel.
   149 					Possible values are:
   152 					Possible values are:
   150 					"on"  - Parse bld.infs in parallel (should be faster on clusters/multicore machines)
   153 					"on"  - Parse bld.infs in parallel (should be faster on clusters/multicore machines)
   151 					"slave" - used internally by Raptor 
       
   152 					"off" - Parse bld.infs serially 
   154 					"off" - Parse bld.infs serially 
   153 				     """)
   155 				     """)
   154 
   156 
   155 parser.add_option("-v","--version",action="store_true",dest="version",
   157 parser.add_option("-v","--version",action="store_true",dest="version",
   156 				help="Print the version number and exit.")
   158 				help="Print the version number and exit.")
   259 				 'logfile' : Raptor.SetLogFileName,
   261 				 'logfile' : Raptor.SetLogFileName,
   260 				 'makefile' : Raptor.SetTopMakefile,
   262 				 'makefile' : Raptor.SetTopMakefile,
   261 				 'quiet' : Raptor.RunQuietly,
   263 				 'quiet' : Raptor.RunQuietly,
   262 				 'debugoutput' : Raptor.SetDebugOutput,
   264 				 'debugoutput' : Raptor.SetDebugOutput,
   263 				 'doExportOnly' : Raptor.SetExportOnly,
   265 				 'doExportOnly' : Raptor.SetExportOnly,
       
   266 				 'doExport' : Raptor.SetNoExport,
   264 				 'keepgoing': Raptor.SetKeepGoing,
   267 				 'keepgoing': Raptor.SetKeepGoing,
   265 				 'nobuild' : Raptor.SetNoBuild,
   268 				 'nobuild' : Raptor.SetNoBuild,
   266 				 'make_engine': Raptor.SetMakeEngine,
   269 				 'make_engine': Raptor.SetMakeEngine,
   267 				 'make_option': Raptor.AddMakeOption,
   270 				 'make_option': Raptor.AddMakeOption,
   268 				 'noDependInclude': Raptor.SetNoDependInclude,
   271 				 'noDependInclude': Raptor.SetNoDependInclude,