Skip to content

spack commands don't support multiple specs anymore #1248

@alalazo

Description

@alalazo

From develop at d24c11f :

$ spack install --help
usage: spack install [-h] [-i] [-j JOBS] [--keep-prefix] [--keep-stage] [-n]
                     [-v] [--fake] [--dirty] [--run-tests]
                     ...

positional arguments:
--->  packages              specs of packages to install <---

optional arguments:
  -h, --help            show this help message and exit
  -i, --ignore-dependencies
                        Do not try to install dependencies of requested
                        packages.
  -j JOBS, --jobs JOBS  Explicitly set number of make jobs. Default is #cpus.
  --keep-prefix         Don't remove the install prefix if installation fails.
  --keep-stage          Don't remove the build stage if installation succeeds.
  -n, --no-checksum     Do not check packages against checksum
  -v, --verbose         Display verbose build output while installing.
  --fake                Fake install. Just remove the prefix and touch a fake
                        file in it.
  --dirty               Install a package *without* cleaning the environment.
  --run-tests           Run tests during installation of a package.

Then trying to install two packages at a time :

$ spack install openjpeg zlib
==> Error: There are no valid versions for openjpeg that match ''

It seems the parser fails at recognizing multiple specs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions