File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -383,8 +383,14 @@ def runExec(self):
383383 else :
384384 output = ""
385385
386- if self .jobs != "1" and checkVectorCASTVersion (20 , True ):
386+
387+ if checkVectorCASTVersion (25 , False ):
388+ useParallelManageCommand = True
389+ else :
390+ useParallelManageCommand = False
387391
392+
393+ if self .jobs != "1" and checkVectorCASTVersion (20 , True ) and not useParallelManageCommand :
388394 # setup project for parallel execution
389395 self .manageWait .exec_manage_command ("--config VCAST_DEPENDENCY_CACHE_DIR=./vcqik" )
390396
@@ -408,7 +414,12 @@ def runExec(self):
408414 parallel_build_execute .parallel_build_execute (callStr )
409415
410416 else :
411- cmd = "--" + self .build_execute + " " + self .useCBT + self .level_option + self .env_option + output
417+ if useParallelManageCommand :
418+ jstr = "--jobs=" + str (self .jobs )
419+ else :
420+ jstr = ""
421+
422+ cmd = "--" + self .build_execute + " " + self .useCBT + self .level_option + self .env_option + " " + jstr + " " + output
412423 build_log = self .manageWait .exec_manage_command (cmd )
413424 open (self .build_log_name ,"w" ).write (build_log )
414425
You can’t perform that action at this time.
0 commit comments