From 60b7ce6483fb4a27455848953cce42eb021623a9 Mon Sep 17 00:00:00 2001 From: Dana Singh Date: Wed, 18 Dec 2024 15:18:51 -0500 Subject: [PATCH] #224 Clean script/move echo statements --- fre/make/create_compile_script.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fre/make/create_compile_script.py b/fre/make/create_compile_script.py index 74e0c329..cd593021 100644 --- a/fre/make/create_compile_script.py +++ b/fre/make/create_compile_script.py @@ -15,7 +15,6 @@ def compile_create(yamlfile,platform,target,jobs,parallel,execute,verbose): name = yamlfile.split(".")[0] nparallel = parallel jobs = str(jobs) - run = execute if verbose: logging.basicCOnfig(level=logging.INFO) @@ -79,8 +78,9 @@ 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") - if run: + + if execute: + click.echo("\nCompile script created at " + bldDir + "/compile.sh" + "\n") if baremetalRun: pool = Pool(processes=nparallel) # Create a multiprocessing Pool pool.map(buildBaremetal.fremake_parallel,fremakeBuildList) # process data_inputs iterable with pool