diff options
author | Greg Lee <lee218@llnl.gov> | 2016-06-07 20:02:38 -0700 |
---|---|---|
committer | Greg Lee <lee218@llnl.gov> | 2016-06-07 20:02:38 -0700 |
commit | 25b2f7b1d75d404b4e06443969cdcb3e125123e6 (patch) | |
tree | bf2155e8c1b60b45a06078a37780c1ee6c15bc5e /var/spack/repos/builtin/packages/libdwarf/package.py | |
parent | 30e8e77fb60b06535b49d54db62781299f555a8d (diff) | |
download | spack-25b2f7b1d75d404b4e06443969cdcb3e125123e6.tar.gz spack-25b2f7b1d75d404b4e06443969cdcb3e125123e6.tar.bz2 spack-25b2f7b1d75d404b4e06443969cdcb3e125123e6.tar.xz spack-25b2f7b1d75d404b4e06443969cdcb3e125123e6.zip |
put older versions back + version-specific dwarfdump dir
Diffstat (limited to 'var/spack/repos/builtin/packages/libdwarf/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/libdwarf/package.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/libdwarf/package.py b/var/spack/repos/builtin/packages/libdwarf/package.py index c9c6e9404f..0e2e702b1c 100644 --- a/var/spack/repos/builtin/packages/libdwarf/package.py +++ b/var/spack/repos/builtin/packages/libdwarf/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -import os # Only build certain parts of dwarf because the other ones break. dwarf_dirs = ['libdwarf', 'dwarfdump2'] @@ -45,7 +44,9 @@ class Libdwarf(Package): list_url = homepage version('20160507', 'ae32d6f9ece5daf05e2d4b14822ea811') - + version('20130729', '4cc5e48693f7b93b7aa0261e63c0e21d') + version('20130207', '64b42692e947d5180e162e46c689dfbf') + version('20130126', 'ded74a5e90edb5a12aac3c29d260c5db') depends_on("libelf") parallel = False @@ -67,7 +68,11 @@ class Libdwarf(Package): install('libdwarf.h', prefix.include) install('dwarf.h', prefix.include) - with working_dir('dwarfdump'): + if spec.satisfies('@20130126:20130729'): + dwarfdump_dir = 'dwarfdump2' + else: + dwarfdump_dir = 'dwarfdump' + with working_dir(dwarfdump_dir): configure("--prefix=" + prefix) # This makefile has strings of copy commands that |