Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
mpsd-software-manager
Commits
a5f0b4a6
Commit
a5f0b4a6
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
implement build log path
parent
5ef25eae
No related branches found
No related tags found
1 merge request
!96
Simplify log file path generation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mpsd_software_manager/mpsd_software.py
+2
-7
2 additions, 7 deletions
src/mpsd_software_manager/mpsd_software.py
with
2 additions
and
7 deletions
src/mpsd_software_manager/mpsd_software.py
+
2
−
7
View file @
a5f0b4a6
...
@@ -955,14 +955,9 @@ def install_environment(
...
@@ -955,14 +955,9 @@ def install_environment(
# run spack_setup_script with the package_sets as arguments
# run spack_setup_script with the package_sets as arguments
for
package_set
in
package_sets
:
for
package_set
in
package_sets
:
# Set the install log file name from create_log_file_names
# Set the install log file name from create_log_file_names
build_log_
file_name
=
create
_log_file_
names
(
build_log_
path
=
get
_log_file_
path
(
mpsd_release
,
microarch
,
"
install
"
,
package_set
=
package_set
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
}
"
)
logging
.
info
(
f
"
Installing package_set
{
package_set
}
to
{
package_set_dir
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment