summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-15 17:22:48 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-15 17:22:48 -0700
commit68d22253eca40bc4223234d6c26204f292be6a0c (patch)
treeebd75d093e91a2eb04eb1ee9c7538040e44660bf /var
parent7eca383b10f017666c320ffd7deb6cae83b5c26b (diff)
downloadspack-68d22253eca40bc4223234d6c26204f292be6a0c.tar.gz
spack-68d22253eca40bc4223234d6c26204f292be6a0c.tar.bz2
spack-68d22253eca40bc4223234d6c26204f292be6a0c.tar.xz
spack-68d22253eca40bc4223234d6c26204f292be6a0c.zip
Add sanity checks to the libelf build.
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",