Fix simul by diabling inline and replacing mpicc command. (#3323)
This commit is contained in:
parent
191bf1e132
commit
d63a53e691
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ class Simul(Package):
|
||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
filter_file('mpicc', '$(MPICC)', 'Makefile', string=True)
|
||||||
|
filter_file('inline void', 'void', 'simul.c', string=True)
|
||||||
make('simul')
|
make('simul')
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
install('simul', prefix.bin)
|
install('simul', prefix.bin)
|
||||||
|
|
Loading…
Reference in a new issue