Changed from setting C compiler to setting C++ compiler (#6011)
This commit is contained in:
parent
f6a8ae230e
commit
73fb02229a
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user