Fix simul by diabling inline and replacing mpicc command. (#3323)

This commit is contained in:
健美猫 2017-03-04 00:19:17 +08:00 committed by Adam J. Stewart
parent 191bf1e132
commit d63a53e691

View file

@ -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)