Skip to content
Snippets Groups Projects
Commit c7d28328 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

logg build_log inside apex log

parent afda0e5c
No related branches found
No related tags found
1 merge request!115Resolve "declutter the top level log file"
......@@ -1066,20 +1066,10 @@ def install_environment(
mpsd_release, "install", root_dir, package_set
)
# Log the build_log_path and the package_set_dir
logging.info(f"Installing package_set {package_set} to {package_set_dir}")
logging.info(f"> Logging installation of {package_set} at {build_log_path}")
# log the command
record_script_execution_summary(
root_dir,
msg=f"installing {package_set} and logging at {build_log_path}",
)
record_script_execution_summary(
root_dir,
msg=(
f"CMD: bash {spack_setup_script} {' '.join(install_flags)} "
f"{package_set}"
),
)
run(
f"bash {spack_setup_script} "
f"{' '.join(install_flags)} {package_set} 2>&1 "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment