summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-04-04 13:41:55 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-04 13:41:55 -0700
commit2fd2a5403ff34260afa46455c048f952e4c90329 (patch)
treebf18cfcfc97b2ef20117d1f9a9c50431e512ca90
parent220fb068aa865b4c701b9ca5d9002bc2811cf6c9 (diff)
parent71ffe2f1c40edaa311a8b7d25d87d2c3ca25388f (diff)
downloadspack-2fd2a5403ff34260afa46455c048f952e4c90329.tar.gz
spack-2fd2a5403ff34260afa46455c048f952e4c90329.tar.bz2
spack-2fd2a5403ff34260afa46455c048f952e4c90329.tar.xz
spack-2fd2a5403ff34260afa46455c048f952e4c90329.zip
Merge pull request #711 from goxberry/mumps-add-libexec
Add mpiseq headers to MUMPS installation (was: Add libexec dir to MUMPS installation)
-rw-r--r--var/spack/repos/builtin/packages/mumps/package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py
index 26440ab7c8..025d86ebdc 100644
--- a/var/spack/repos/builtin/packages/mumps/package.py
+++ b/var/spack/repos/builtin/packages/mumps/package.py
@@ -1,5 +1,5 @@
from spack import *
-import os, sys
+import os, sys, glob
class Mumps(Package):
"""MUMPS: a MUltifrontal Massively Parallel sparse direct Solver"""
@@ -164,10 +164,13 @@ class Mumps(Package):
install_tree('lib', prefix.lib)
install_tree('include', prefix.include)
- if '~mpi' in spec:
+
+ if '~mpi' in spec:
lib_dsuffix = '.dylib' if sys.platform == 'darwin' else '.so'
lib_suffix = lib_dsuffix if '+shared' in spec else '.a'
install('libseq/libmpiseq%s' % lib_suffix, prefix.lib)
+ for f in glob.glob(join_path('libseq','*.h')):
+ install(f, prefix.include)
# FIXME: extend the tests to mpirun -np 2 (or alike) when build with MPI
# FIXME: use something like numdiff to compare blessed output with the current