diff options
author | Denis Davydov <davydden@gmail.com> | 2016-05-03 19:04:42 +0200 |
---|---|---|
committer | Denis Davydov <davydden@gmail.com> | 2016-05-05 10:44:41 +0200 |
commit | ddcb97f9531c65bfc370177dfd2090c9e82a4cb3 (patch) | |
tree | 3db2d0563d0c9961425a26a698ecb421dc4264b2 /lib | |
parent | 473a5542bed01e2f70370ddd5ceb70ac41fe178e (diff) | |
download | spack-ddcb97f9531c65bfc370177dfd2090c9e82a4cb3.tar.gz spack-ddcb97f9531c65bfc370177dfd2090c9e82a4cb3.tar.bz2 spack-ddcb97f9531c65bfc370177dfd2090c9e82a4cb3.tar.xz spack-ddcb97f9531c65bfc370177dfd2090c9e82a4cb3.zip |
add a temporary Nag.cxx11_flag property
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compilers/nag.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py index bbc291d7b6..e9038c1039 100644 --- a/lib/spack/spack/compilers/nag.py +++ b/lib/spack/spack/compilers/nag.py @@ -25,6 +25,11 @@ class Nag(Compiler): def openmp_flag(self): return "-openmp" + @property + def cxx11_flag(self): + # NAG does not have a C++ compiler + # However, it can be mixed with a compiler that does support it + return "-std=c++11" @classmethod def default_version(self, comp): |