Changed from setting C compiler to setting C++ compiler (#6011)

This commit is contained in:
mmwolf 2017-10-29 07:42:27 -06:00 committed by Christoph Junghans
parent f6a8ae230e
commit 73fb02229a

View File

@ -43,10 +43,10 @@ class Minitri(MakefilePackage):
def build_targets(self):
targets = []
if '+mpi' in self.spec:
targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
targets.append('CCC={0}'.format(self.spec['mpi'].mpicxx))
targets.append('--directory=miniTri/linearAlgebra/MPI')
else:
targets.append('CC={0}'.format(self.compiler.cc))
targets.append('CCC={0}'.format(self.compiler.cxx))
targets.append('--directory=miniTri/linearAlgebra/serial')
targets.append('--file=Makefile')