diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/superlu-dist/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 5 |
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, |