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
379ac608
Commit
379ac608
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
handle ALL toolchain option
parent
5be2d8ea
No related branches found
No related tags found
2 merge requests
!19
Move linux-debian11 into main
,
!1
Resolve "First draft for user interface for top level install command"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install-mpsd-software-environment.py
+3
-1
3 additions, 1 deletion
install-mpsd-software-environment.py
with
3 additions
and
1 deletion
install-mpsd-software-environment.py
+
3
−
1
View file @
379ac608
...
...
@@ -146,6 +146,8 @@ def install_environment(mpsd_release, toolchains, script_dir, force_reinstall=Fa
# run the prepare_environment function
available_toolchains
=
prepare_environment
(
mpsd_release
,
script_dir
)
# Ensure that the requested toolchains are available in the release
if
toolchains
==
"
ALL
"
:
toolchains
=
available_toolchains
for
toolchain
in
toolchains
:
if
toolchain
not
in
available_toolchains
:
raise
Exception
(
f
"
Toolchain
{
toolchain
}
is not available in release
{
mpsd_release
}
.
"
)
...
...
@@ -232,7 +234,7 @@ def main():
elif
args
.
action
==
"
start-new
"
:
start_new_environment
(
args
.
from_release
,
args
.
to_release
,
script_dir
)
elif
args
.
action
==
"
install
"
:
install_environment
(
args
.
release
,
args
.
toolchains
,
script_dir
,
False
,
args
.
skip
_build_cache
)
install_environment
(
args
.
release
,
args
.
toolchains
,
script_dir
,
False
,
args
.
enable
_build_cache
)
elif
args
.
action
==
"
prepare
"
:
prepare_environment
(
args
.
release
,
script_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