summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2018-09-24 21:53:14 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-09-24 21:53:14 -0500
commit6b1b84267d52222bea761220c4dd3f3706a4b2bb (patch)
tree28acfa099585d4d152a6a7d0c8fa8cd065cccfe8
parent43b094845748c20ea7a16f9010fce1ff9f14988c (diff)
downloadspack-6b1b84267d52222bea761220c4dd3f3706a4b2bb.tar.gz
spack-6b1b84267d52222bea761220c4dd3f3706a4b2bb.tar.bz2
spack-6b1b84267d52222bea761220c4dd3f3706a4b2bb.tar.xz
spack-6b1b84267d52222bea761220c4dd3f3706a4b2bb.zip
superlu_dist: (master) has cxx11 sources - so update make.inc to list cxx11 compilers (#9316)
-rw-r--r--var/spack/repos/builtin/packages/superlu-dist/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py
index fb17a28598..63b06571d0 100644
--- a/var/spack/repos/builtin/packages/superlu-dist/package.py
+++ b/var/spack/repos/builtin/packages/superlu-dist/package.py
@@ -77,6 +77,11 @@ class SuperluDist(Package):
'ARCH = ar',
'ARCHFLAGS = cr',
'RANLIB = true',
+ 'CXX = {0}'.format(self.spec['mpi'].mpicxx),
+ 'CXXFLAGS = {0} {1} {2}'.format(
+ ' '.join(self.spec.compiler_flags['cxxflags']),
+ self.compiler.pic_flag,
+ self.compiler.cxx11_flag),
'CC = {0}'.format(self.spec['mpi'].mpicc),
'CFLAGS = %s %s -O2 %s %s %s' % (
self.compiler.pic_flag,