diff options
author | eklee15 <eunkyung.lee@us.ibm.com> | 2017-05-26 23:07:24 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-26 22:07:24 -0500 |
commit | c0fff6722dadfa7ef576d3bcc815f98ce33a7d03 (patch) | |
tree | 785cd08f8cc37aabddc7605c6f50f25aff1c0f97 /var | |
parent | a9feeefdb93c7766d02e264bbdd7f070c2d6ec83 (diff) | |
download | spack-c0fff6722dadfa7ef576d3bcc815f98ce33a7d03.tar.gz spack-c0fff6722dadfa7ef576d3bcc815f98ce33a7d03.tar.bz2 spack-c0fff6722dadfa7ef576d3bcc815f98ce33a7d03.tar.xz spack-c0fff6722dadfa7ef576d3bcc815f98ce33a7d03.zip |
added -c11 flag for pgi compiler for TSL (#4367)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/parmetis/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/parmetis/package.py b/var/spack/repos/builtin/packages/parmetis/package.py index b07c796dd7..c66829f94e 100644 --- a/var/spack/repos/builtin/packages/parmetis/package.py +++ b/var/spack/repos/builtin/packages/parmetis/package.py @@ -70,7 +70,9 @@ class Parmetis(Package): '-DGKLIB_PATH:PATH=%s/GKlib' % spec['metis'].prefix.include, '-DMETIS_PATH:PATH=%s' % spec['metis'].prefix, '-DCMAKE_C_COMPILER:STRING=%s' % spec['mpi'].mpicc, - '-DCMAKE_CXX_COMPILER:STRING=%s' % spec['mpi'].mpicxx + '-DCMAKE_CXX_COMPILER:STRING=%s' % spec['mpi'].mpicxx, + '-DCMAKE_C_FLAGS:STRING=%s' % ( + '-c11' if '%pgi' in spec else ''), ]) if '+shared' in spec: |