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

implement build log path

parent 5ef25eae
No related branches found
No related tags found
1 merge request!96Simplify log file path generation
......@@ -955,14 +955,9 @@ def install_environment(
# run spack_setup_script with the package_sets as arguments
for package_set in package_sets:
# Set the install log file name from create_log_file_names
build_log_file_name = create_log_file_names(
mpsd_release, microarch, "install", package_set=package_set
build_log_path = get_log_file_path(
mpsd_release, "install", root_dir, package_set
)
build_log_folder = release_base_dir / "logs"
build_log_path = build_log_folder / build_log_file_name
# if logs folder dosent exist, create it
if not os.path.exists(build_log_folder):
os.makedirs(build_log_folder)
logging.info(f"Installing package_set {package_set} to {package_set_dir}")
......
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