Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# completion of task1.
# pyflow will switch the task command between make and qmake
# depending on run type.
#
self.addTask("make_task", scriptDir, isCommandMakePath=True, nCores=2, dependencies="task1")
# This command 'unconfigures' the makefile
#
self.addTask("task2", "rm -f %s/Makefile" % scriptDir, dependencies="make_task")
# Instantiate the workflow
#
# parameters are passed into the workflow via its constructor:
#
wflow = MakeWorkflow()
# Run the worklow:
#
retval = wflow.run(mode="local", nCores=8)
sys.exit(retval)