swfft: inject CC/CXX (#6666)
This commit is contained in:
parent
80284617a5
commit
e80a27d713
1 changed files with 11 additions and 0 deletions
|
@ -43,6 +43,17 @@ class Swfft(MakefilePackage):
|
|||
|
||||
tags = ['proxy-app', 'ecp-proxy-app']
|
||||
|
||||
@property
|
||||
def build_targets(self):
|
||||
targets = []
|
||||
spec = self.spec
|
||||
|
||||
targets.append('DFFT_MPI_CC=%s' % spec['mpi'].mpicc)
|
||||
targets.append('DFFT_MPI_CXX=%s' % spec['mpi'].mpicxx)
|
||||
targets.append('DFFT_MPI_F90=%s' % spec['mpi'].mpifc)
|
||||
|
||||
return targets
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdir(prefix.bin)
|
||||
install('build/CheckDecomposition', prefix.bin)
|
||||
|
|
Loading…
Reference in a new issue