diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-07-08 12:29:49 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-07-13 09:27:09 +0200 |
commit | 8ed028e2d67f191a32751db8bd487c03f7687b50 (patch) | |
tree | e764e8255eddda710bc968d1f25651b35967de1d /var/spack/repos/builtin/packages/szip/package.py | |
parent | a36f3764af424ce6da48adee2c09fe721c391942 (diff) | |
download | spack-8ed028e2d67f191a32751db8bd487c03f7687b50.tar.gz spack-8ed028e2d67f191a32751db8bd487c03f7687b50.tar.bz2 spack-8ed028e2d67f191a32751db8bd487c03f7687b50.tar.xz spack-8ed028e2d67f191a32751db8bd487c03f7687b50.zip |
package : introduced InstallPhase, added decorators for prerequisites and sanity_checks of phases
Diffstat (limited to 'var/spack/repos/builtin/packages/szip/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/szip/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/szip/package.py b/var/spack/repos/builtin/packages/szip/package.py index fd3a2a209d..ec6d8239a9 100644 --- a/var/spack/repos/builtin/packages/szip/package.py +++ b/var/spack/repos/builtin/packages/szip/package.py @@ -34,6 +34,10 @@ class Szip(Package): version('2.1', '902f831bcefb69c6b635374424acbead') + @Package.sanity_check('install') + def always_raise(self): + raise RuntimeError('Precondition not respected') + def install(self, spec, prefix): configure('--prefix=%s' % prefix, '--enable-production', |