Skip to content
Snippets Groups Projects
Unverified Commit e80a27d7 authored by Christoph Junghans's avatar Christoph Junghans Committed by GitHub
Browse files

swfft: inject CC/CXX (#6666)

parent 80284617
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,17 @@ class Swfft(MakefilePackage): ...@@ -43,6 +43,17 @@ class Swfft(MakefilePackage):
tags = ['proxy-app', 'ecp-proxy-app'] 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): def install(self, spec, prefix):
mkdir(prefix.bin) mkdir(prefix.bin)
install('build/CheckDecomposition', prefix.bin) install('build/CheckDecomposition', prefix.bin)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment