Integrated improvements from PR #893 to remove hardcoded MPI path.

This commit is contained in:
Joseph Ciurej 2016-05-09 14:39:42 -07:00
parent 88d2f6b83a
commit ceab445b9f

View file

@ -103,7 +103,7 @@ def configure(self):
makefile_inc.append('CCS = $(CC)')
makefile_inc.append('CCP = %s' %
(os.path.join(self.spec['mpi'].prefix.bin, 'mpicc') if '+mpi' in self.spec else 'mpicc'))
(self.spec['mpi'].mpicc if '+mpi' in self.spec else 'mpicc'))
makefile_inc.append('CCD = $(CCS)')
## Extra Features ##