superlu_dist: fix 'spack install superlu-dist@develop' (#8442)

Latest superlu_dist sources now use INCLUDEDIR.
This change should not affect older superlu_dist version builds
This commit is contained in:
Satish Balay 2018-06-12 18:51:10 +05:30 committed by Adam J. Stewart
parent 004e9b8948
commit 8e7d98c5fa

View file

@ -86,6 +86,7 @@ def install(self, spec, prefix):
'FORTRAN = {0}'.format(self.spec['mpi'].mpif77),
'F90FLAGS = -O2',
'LOADER = {0}'.format(self.spec['mpi'].mpif77),
'INCLUDEDIR = $(SuperLUroot)/include',
'LOADOPTS =',
'CDEFS = %s' % ("-DNoChange"
if '%xl' in spec or '%xl_r' in spec