summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2021-02-02 11:11:51 -0800
committerGitHub <noreply@github.com>2021-02-02 19:11:51 +0000
commit7dcf3f7aedbfdf085451f8fffb2ecdfb08c96c7d (patch)
tree9db19e5e2649b9bea6e71f5f56817ef5153cc5a3
parentd04804891130841387697702c99ad8098a99874e (diff)
downloadspack-7dcf3f7aedbfdf085451f8fffb2ecdfb08c96c7d.tar.gz
spack-7dcf3f7aedbfdf085451f8fffb2ecdfb08c96c7d.tar.bz2
spack-7dcf3f7aedbfdf085451f8fffb2ecdfb08c96c7d.tar.xz
spack-7dcf3f7aedbfdf085451f8fffb2ecdfb08c96c7d.zip
add intel oneapi to compiler/pkg translations (#21448)
-rw-r--r--lib/spack/spack/compilers/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/__init__.py b/lib/spack/spack/compilers/__init__.py
index 9bc5b42314..83503f09ed 100644
--- a/lib/spack/spack/compilers/__init__.py
+++ b/lib/spack/spack/compilers/__init__.py
@@ -41,7 +41,8 @@ _cache_config_file = []
_compiler_cache = {} # type: Dict[str, spack.compiler.Compiler]
_compiler_to_pkg = {
- 'clang': 'llvm+clang'
+ 'clang': 'llvm+clang',
+ 'oneapi': 'intel-oneapi-compilers'
}