metis: install more headers files (#29939)
* update metis: install more all files * ok to be a package reviewer Co-authored-by: Mathieu Courtois <mathieu.courtois@edf.fr>
This commit is contained in:
parent
08c73e456c
commit
bc34bcfbc2
@ -21,6 +21,9 @@ class Metis(Package):
|
|||||||
url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz"
|
url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz"
|
||||||
list_url = "http://glaros.dtc.umn.edu/gkhome/fsroot/sw/metis/OLD"
|
list_url = "http://glaros.dtc.umn.edu/gkhome/fsroot/sw/metis/OLD"
|
||||||
|
|
||||||
|
# not a metis developer, just package reviewer!
|
||||||
|
maintainers = ['mthcrts']
|
||||||
|
|
||||||
version('5.1.0', sha256='76faebe03f6c963127dbb73c13eab58c9a3faeae48779f049066a21c087c5db2')
|
version('5.1.0', sha256='76faebe03f6c963127dbb73c13eab58c9a3faeae48779f049066a21c087c5db2')
|
||||||
version('4.0.3', sha256='5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55')
|
version('4.0.3', sha256='5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55')
|
||||||
|
|
||||||
@ -208,10 +211,12 @@ def install(self, spec, prefix):
|
|||||||
make()
|
make()
|
||||||
make('install')
|
make('install')
|
||||||
|
|
||||||
# install GKlib headers, which will be needed for ParMETIS
|
# install all headers, which will be needed for ParMETIS and other programs
|
||||||
gklib_dist = join_path(prefix.include, 'GKlib')
|
subdirs = ["GKlib", "libmetis", "programs"]
|
||||||
mkdirp(gklib_dist)
|
for subd in subdirs:
|
||||||
install(join_path(source_directory, 'GKlib', '*.h'), gklib_dist)
|
inc_dist = join_path(prefix.include, subd)
|
||||||
|
mkdirp(inc_dist)
|
||||||
|
install(join_path(source_directory, subd, '*.h'), inc_dist)
|
||||||
|
|
||||||
if self.run_tests:
|
if self.run_tests:
|
||||||
# FIXME: On some systems, the installed binaries for METIS cannot
|
# FIXME: On some systems, the installed binaries for METIS cannot
|
||||||
|
Loading…
Reference in New Issue
Block a user