blob: f38c958539ab7dc56ce8c190b60efe57dc6ede1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.cmd.common import arguments
from spack.cmd.compiler import compiler_list
description = "list available compilers"
section = "system"
level = "short"
def setup_parser(subparser):
subparser.add_argument(
"--scope", action=arguments.ConfigScope, help="configuration scope to read/modify"
)
def compilers(parser, args):
compiler_list(args)
|