Skip to content
Snippets Groups Projects
Commit dd1b946b authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

feat: spack install shall default to nproc [TBD]

parent 233fd9e6
Branches ECM_testing
No related tags found
1 merge request!20Test-driving dedal… keeping some things in here [DO-NOT-MERGE]
Pipeline #64120 failed with stages
in 1 minute and 10 seconds
......@@ -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."""
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment