Skip to content

spack compiler find broken, spack compiler add no longer accepts paths #1071

@adamjstewart

Description

@adamjstewart

Just merged to the latest develop.

$ spack compiler find
Traceback (most recent call last):
  File "/soft/spack/bin/spack", line 179, in <module>
    main()
  File "/soft/spack/bin/spack", line 157, in main
    return_val = command(parser, args)
  File "/blues/gpfs/home/software/spack/lib/spack/spack/cmd/compiler.py", line 145, in compiler
    action[args.compiler_command](args)
KeyError: 'find'
$ spack compiler add
==> Found no new compilers
$ spack compiler add /soft/spack/opt/spack/linux-x86_64/gcc-5.3.0/gcc-6.1.0-q2zosj3igepi3pjnqt74bwazmptr5gpj
Traceback (most recent call last):
  File "/soft/spack/bin/spack", line 179, in <module>
    main()
  File "/soft/spack/bin/spack", line 157, in main
    return_val = command(parser, args)
  File "/blues/gpfs/home/software/spack/lib/spack/spack/cmd/compiler.py", line 145, in compiler
    action[args.compiler_command](args)
  File "/blues/gpfs/home/software/spack/lib/spack/spack/cmd/compiler.py", line 79, in compiler_add
    compilers = [c for c in spack.compilers.find_compilers(*args.add_paths)
TypeError: find_compilers() takes no arguments (1 given)

It seems that spack compiler find is no longer a valid alias? And spack compiler add no longer accepts paths?

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