Commit 919ac169 authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Add option to orchestrator to skip bitfile synthesis

parent b2501ecc
......@@ -1494,7 +1494,7 @@ def ParseCommandLineArgs():
g_stageLog.info("Parsing Command Line Args")
try:
args = sys.argv[1:]
optlist, args = getopt.gnu_getopt(args, "fgpbrvhjn:o:c:i:S:M:I:C:B:A:G:P:V:QC:QA:e:d:l:w:x:", ['fast', 'debug', 'no-retry', 'with-polyorb-hi-c', 'with-empty-init', 'with-coverage', 'aadlv2', 'gprof', 'keep-case', 'nodeOptions=', 'output=', 'deploymentView=', 'interfaceView=', 'subSCADE=', 'subSIMULINK=', 'subMicroPython=', 'subC=', 'subCPP=', 'subAda=', 'subOG=', 'subRTDS=', 'subVHDL=', 'subQGenC=', 'subQGenAda=', 'with-extra-C-code=', 'with-extra-Ada-code=', 'with-extra-lib=', 'with-cv-attributes', '--timer='])
optlist, args = getopt.gnu_getopt(args, "fgpbrvhjn:o:c:i:S:M:I:C:B:A:G:P:V:QC:QA:e:d:l:w:x:", ['fast', 'debug', 'no-retry', 'with-polyorb-hi-c', 'with-empty-init', 'with-coverage', 'aadlv2', 'gprof', 'keep-case', 'no-bitfile', 'nodeOptions=', 'output=', 'deploymentView=', 'interfaceView=', 'subSCADE=', 'subSIMULINK=', 'subMicroPython=', 'subC=', 'subCPP=', 'subAda=', 'subOG=', 'subRTDS=', 'subVHDL=', 'subQGenC=', 'subQGenAda=', 'with-extra-C-code=', 'with-extra-Ada-code=', 'with-extra-lib=', 'with-cv-attributes', '--timer='])
except:
usage()
if args != []:
......@@ -1504,7 +1504,7 @@ def ParseCommandLineArgs():
g_bFast = g_bPolyORB_HI_C = False
global g_bRetry
g_bRetry = True # set by default
bUseEmptyInitializers = bCoverage = bProfiling = bDebug = bKeepCase = False
bUseEmptyInitializers = bCoverage = bProfiling = bDebug = bKeepCase = bNoBitfile = False
# Maxime request: never check for multicores anymore, POHI updates fixed the issues.
enableMultiCoreCheck = False
......@@ -1561,6 +1561,8 @@ def ParseCommandLineArgs():
cvAttributesFile = arg
elif opt in ("-x", "--timer"):
timerResolution = arg
elif opt == "--no-bitfile":
bNoBitfile = True
elif opt in ("-n", "--nodeOptions"):
subName = arg.split('@')[0]
onOffLookup = {'on': True, 'off': False}
......@@ -1732,7 +1734,7 @@ disable this check with the -z command line argument or by setting
AdaIncludePath, AdaDirectories, CDirectories, ExtraLibraries,
scadeSubsystems, simulinkSubsystems, micropythonSubsystems, qgencSubsystems, qgenadaSubsystems, cSubsystems,
cppSubsystems, adaSubsystems, rtdsSubsystems, ogSubsystems, vhdlSubsystems,
timerResolution)
timerResolution, bNoBitfile)
def ReadMD5sums(bDebug):
......@@ -2596,7 +2598,7 @@ def main():
AdaIncludePath, AdaDirectories, CDirectories, ExtraLibraries, \
scadeSubsystems, simulinkSubsystems, micropythonSubsystems, qgencSubsystems, qgenadaSubsystems, cSubsystems, \
cppSubsystems, adaSubsystems, rtdsSubsystems, ogSubsystems, vhdlSubsystems, \
timerResolution = cmdLineInformation
timerResolution, bNoBitfile = cmdLineInformation
os.putenv("WORKDIR", os.path.abspath(outputDir))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment