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
Merge requests
!29
Restructure log location
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Restructure log location
restructure-log-location
into
main
Overview
2
Commits
48
Pipelines
20
Changes
2
Merged
Ashwin Kumar Karnad
requested to merge
restructure-log-location
into
main
1 year ago
Overview
2
Commits
48
Pipelines
20
Changes
2
Expand
Resolves
#7 (closed)
0
0
Merge request reports
Viewing commit
4bf382d0
Prev
Next
Show latest version
2 files
+
11
−
7
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
4bf382d0
fix tests and make log file if they dont exists
· 4bf382d0
Ashwin Kumar Karnad
authored
1 year ago
mpsd-software-environment.py
+
5
−
1
Options
@@ -671,7 +671,11 @@ def install_environment(
@@ -671,7 +671,11 @@ def install_environment(
_
,
build_log_file_name
=
create_log_file_names
(
_
,
build_log_file_name
=
create_log_file_names
(
mpsd_release
,
mpsd_microarch
,
"
install
"
,
toolchain
=
toolchain
mpsd_release
,
mpsd_microarch
,
"
install
"
,
toolchain
=
toolchain
)
)
build_log_file
=
release_base_dir
/
"
logs
"
/
build_log_file_name
build_log_folder
=
release_base_dir
/
"
logs
"
build_log_file
=
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 toolchain
{
toolchain
}
to
{
toolchain_dir
}
"
)
logging
.
info
(
f
"
Installing toolchain
{
toolchain
}
to
{
toolchain_dir
}
"
)
Loading