summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@chem.uzh.ch>2021-05-03 17:12:51 +0200
committerGitHub <noreply@github.com>2021-05-03 08:12:51 -0700
commit61232796da8739495a03fb7f26266ceca3ccc511 (patch)
treee75d53ac086a4cb1b776ae14b8c987d915c0f003
parent74ed861657cf3cd85955ab99dd90f709286c8210 (diff)
downloadspack-61232796da8739495a03fb7f26266ceca3ccc511.tar.gz
spack-61232796da8739495a03fb7f26266ceca3ccc511.tar.bz2
spack-61232796da8739495a03fb7f26266ceca3ccc511.tar.xz
spack-61232796da8739495a03fb7f26266ceca3ccc511.zip
llvm-doe: fix typo breaking "spack external find" (#23399)
Fixes the following error when 'flang' is found on the system: $ ./bin/spack external find ==> Error: name 'compiler' is not defined
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/llvm-doe/package.py b/var/spack/repos/builtin/packages/llvm-doe/package.py
index 0af4a2b0f2..23523616a2 100644
--- a/var/spack/repos/builtin/packages/llvm-doe/package.py
+++ b/var/spack/repos/builtin/packages/llvm-doe/package.py
@@ -251,7 +251,7 @@ class LlvmDoe(CMakePackage, CudaPackage):
compilers['c'] = exe
elif 'flang' in exe:
variants.append('+flang')
- compiler['fc'] = exe
+ compilers['fc'] = exe
compilers['f77'] = exe
elif 'ld.lld' in exe:
lld_found = True