summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-07-12 15:25:41 +0200
committerGitHub <noreply@github.com>2024-07-12 15:25:41 +0200
commit0ce35dafe14ce42dc692226943b08cbba2a93e3c (patch)
treeab5792a7c462dba6bfa6b3ad8a1acdd10c03b42f /lib
parent49e419b2df1cf091fc7e2038a39aa58d120cf5c1 (diff)
downloadspack-0ce35dafe14ce42dc692226943b08cbba2a93e3c.tar.gz
spack-0ce35dafe14ce42dc692226943b08cbba2a93e3c.tar.bz2
spack-0ce35dafe14ce42dc692226943b08cbba2a93e3c.tar.xz
spack-0ce35dafe14ce42dc692226943b08cbba2a93e3c.zip
Add c to the list of languages (#45191)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/directives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/directives.py b/lib/spack/spack/directives.py
index 35f27b7a26..18462fb726 100644
--- a/lib/spack/spack/directives.py
+++ b/lib/spack/spack/directives.py
@@ -97,7 +97,7 @@ Patcher = Callable[[Union["spack.package_base.PackageBase", Dependency]], None]
PatchesType = Optional[Union[Patcher, str, List[Union[Patcher, str]]]]
-SUPPORTED_LANGUAGES = ("fortran", "cxx")
+SUPPORTED_LANGUAGES = ("fortran", "cxx", "c")
def _make_when_spec(value: WhenType) -> Optional["spack.spec.Spec"]: