Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dedal
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
dedal
Commits
dd1b946b
Commit
dd1b946b
authored
2 months ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
feat: spack install shall default to nproc [TBD]
parent
233fd9e6
Branches
ECM_testing
No related tags found
1 merge request
!20
Test-driving dedal… keeping some things in here [DO-NOT-MERGE]
Pipeline
#64120
failed with stages
Stage:
Stage:
Stage:
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dedal/cli/spack_manager_api.py
+2
-1
2 additions, 1 deletion
dedal/cli/spack_manager_api.py
with
2 additions
and
1 deletion
dedal/cli/spack_manager_api.py
+
2
−
1
View file @
dd1b946b
...
...
@@ -19,6 +19,7 @@ import os
from
pathlib
import
Path
import
click
import
jsonpickle
import
multiprocessing
from
dedal.bll.SpackManager
import
SpackManager
from
dedal.bll.cli_utils
import
save_config
,
load_config
...
...
@@ -155,7 +156,7 @@ def concretize(ctx: click.Context):
@cli.command
()
@click.option
(
'
--jobs
'
,
type
=
int
,
default
=
2
,
help
=
'
Number of parallel jobs for spack installation
'
)
@click.option
(
'
--jobs
'
,
type
=
int
,
default
=
multiprocessing
.
cpu_count
()
,
help
=
'
Number of parallel jobs for spack installation
'
)
@click.pass_context
def
install_packages
(
ctx
:
click
.
Context
,
jobs
):
"""
Installs spack packages present in the spack environment defined in configuration.
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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