summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-16 08:38:47 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-16 08:38:47 -0700
commit39a792adda074844a8fa15e0862e5518bf021f6e (patch)
treeebd75d093e91a2eb04eb1ee9c7538040e44660bf /var
parent108ea1522a6c852b08e7b0eb9cde4d6aef53758c (diff)
parent68d22253eca40bc4223234d6c26204f292be6a0c (diff)
downloadspack-39a792adda074844a8fa15e0862e5518bf021f6e.tar.gz
spack-39a792adda074844a8fa15e0862e5518bf021f6e.tar.bz2
spack-39a792adda074844a8fa15e0862e5518bf021f6e.tar.xz
spack-39a792adda074844a8fa15e0862e5518bf021f6e.zip
Merge pull request #554 from LLNL/features/sanity-check-paths
Add sanity check paths to packages; fix #505
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libelf/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libelf/package.py b/var/spack/repos/builtin/packages/libelf/package.py
index 29bc21b65c..0fcb56c164 100644
--- a/var/spack/repos/builtin/packages/libelf/package.py
+++ b/var/spack/repos/builtin/packages/libelf/package.py
@@ -38,6 +38,9 @@ class Libelf(Package):
provides('elf')
+ sanity_check_files = ['include/libelf.h']
+ sanity_check_dirs = ['lib']
+
def install(self, spec, prefix):
configure("--prefix=" + prefix,
"--enable-shared",