fix superlu-dist lib installation

This commit is contained in:
Denis Davydov 2016-03-23 08:07:45 +01:00
parent 2d69f386d0
commit 5b3c96a9bb

View File

@ -54,6 +54,7 @@ def install(self, spec, prefix):
# need to install by hand
headers_location = join_path(self.prefix.include,'superlu_dist')
mkdirp(headers_location)
mkdirp(prefix.lib)
# FIXME: fetch all headers in the folder automatically
for header in ['Cnames.h','cublas_utils.h','dcomplex.h','html_mainpage.h','machines.h','old_colamd.h','psymbfact.h','superlu_ddefs.h','superlu_defs.h','superlu_enum_consts.h','superlu_zdefs.h','supermatrix.h','util_dist.h']:
superludist_header = join_path(self.stage.source_path, 'SRC/',header)