p4est: use mpicc,mpicxx,mpifc,mpif77 compiler variables instead of hardcoding names
This commit is contained in:
parent
c3317819cb
commit
f417b1cf90
@ -24,10 +24,10 @@ def install(self, spec, prefix):
|
|||||||
'--without-blas',
|
'--without-blas',
|
||||||
'CPPFLAGS=-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL',
|
'CPPFLAGS=-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL',
|
||||||
'CFLAGS=-O2',
|
'CFLAGS=-O2',
|
||||||
'CC=%s' % join_path(self.spec['mpi'].prefix.bin, 'mpicc'), # TODO: use ENV variables or MPI class wrappers
|
'CC=%s' % self.spec['mpi'].mpicc,
|
||||||
'CXX=%s' % join_path(self.spec['mpi'].prefix.bin, 'mpic++'),
|
'CXX=%s' % self.spec['mpi'].mpicxx,
|
||||||
'FC=%s' % join_path(self.spec['mpi'].prefix.bin, 'mpif90'),
|
'FC=%s' % self.spec['mpi'].mpifc,
|
||||||
'F77=%s' % join_path(self.spec['mpi'].prefix.bin, 'mpif77'),
|
'F77=%s' % self.spec['mpi'].mpif77
|
||||||
]
|
]
|
||||||
|
|
||||||
configure('--prefix=%s' % prefix, *options)
|
configure('--prefix=%s' % prefix, *options)
|
||||||
|
Loading…
Reference in New Issue
Block a user