Skip to content

Commit

Permalink
#224 Change sys.exit to click.echo statement
Browse files Browse the repository at this point in the history
  • Loading branch information
singhd789 committed Dec 16, 2024
1 parent 419c37a commit 3095918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fre/make/create_compile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ def compile_create(yamlfile,platform,target,jobs,parallel,execute,verbose):
fremakeBuild.writeBuildComponents(c)
fremakeBuild.writeScript()
fremakeBuildList.append(fremakeBuild)
click.echo("\nCompile script created at " + bldDir + "/compile.sh" + "\n")
# click.echo("\nCompile script created at " + bldDir + "/compile.sh" + "\n")
if run:
if baremetalRun:
pool = Pool(processes=nparallel) # Create a multiprocessing Pool
pool.map(buildBaremetal.fremake_parallel,fremakeBuildList) # process data_inputs iterable with pool
else:
sys.exit()
click.echo("\nCompile script created at " + bldDir + "/compile.sh" + "\n")

@click.command()
def _compile_create(yamlfile,platform,target,jobs,parallel,execute,verbose):
Expand Down

0 comments on commit 3095918

Please sign in to comment.