summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTiziano Müller <tiziano.mueller@chem.uzh.ch>2021-05-07 14:55:32 +0200
committerGitHub <noreply@github.com>2021-05-07 14:55:32 +0200
commitccf9a11ff96357945eea762136a1ea0cc95a99eb (patch)
treed0549a886eb36e5abc3f3bafe9bca709fe383ec0 /lib
parent07ed432f273d1da35172bc80663ac177c867e800 (diff)
downloadspack-ccf9a11ff96357945eea762136a1ea0cc95a99eb.tar.gz
spack-ccf9a11ff96357945eea762136a1ea0cc95a99eb.tar.bz2
spack-ccf9a11ff96357945eea762136a1ea0cc95a99eb.tar.xz
spack-ccf9a11ff96357945eea762136a1ea0cc95a99eb.zip
compilers: aocc is now also available as a Cray PrgEnv (#23289)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/aocc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/aocc.py b/lib/spack/spack/compilers/aocc.py
index f16d9c285c..dcb6589861 100644
--- a/lib/spack/spack/compilers/aocc.py
+++ b/lib/spack/spack/compilers/aocc.py
@@ -25,6 +25,9 @@ class Aocc(Compiler):
# Subclasses use possible names of Fortran 90 compiler
fc_names = ['flang']
+ PrgEnv = 'PrgEnv-aocc'
+ PrgEnv_compiler = 'aocc'
+
version_argument = '--version'
@property