diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-01-17 17:09:42 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-01-17 17:09:42 -0800 |
commit | 4e3662f3188df8c9b6631caf7802e5ece3960b39 (patch) | |
tree | 6ce18888d8a4ca8ca670505c4ee3564dbc5f5166 /var | |
parent | c6351b5d00708fc3ac08ea330d6710ee45367375 (diff) | |
download | spack-4e3662f3188df8c9b6631caf7802e5ece3960b39.tar.gz spack-4e3662f3188df8c9b6631caf7802e5ece3960b39.tar.bz2 spack-4e3662f3188df8c9b6631caf7802e5ece3960b39.tar.xz spack-4e3662f3188df8c9b6631caf7802e5ece3960b39.zip |
Dyninst 8.2 works.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/dyninst/package.py | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/var/spack/packages/dyninst/package.py b/var/spack/packages/dyninst/package.py index 9fbc6385a9..2e6f3e010a 100644 --- a/var/spack/packages/dyninst/package.py +++ b/var/spack/packages/dyninst/package.py @@ -31,13 +31,34 @@ class Dyninst(Package): url = "http://www.dyninst.org/sites/default/files/downloads/dyninst/8.1.2/DyninstAPI-8.1.2.tgz" list_url = "http://www.dyninst.org/downloads/dyninst-8.x" - version('8.1.2', 'bf03b33375afa66fe0efa46ce3f4b17a') - version('8.1.1', 'd1a04e995b7aa70960cd1d1fac8bd6ac') + version('8.2.1', 'abf60b7faabe7a2e4b54395757be39c7', + url="http://www.paradyn.org/release8.2/DyninstAPI-8.2.1.tgz") + version('8.1.2', 'bf03b33375afa66fe0efa46ce3f4b17a', + url="http://www.paradyn.org/release8.1.2/DyninstAPI-8.1.2.tgz") + version('8.1.1', 'd1a04e995b7aa70960cd1d1fac8bd6ac', + url="http://www.paradyn.org/release8.1/DyninstAPI-8.1.1.tgz") depends_on("libelf") depends_on("libdwarf") - depends_on("boost@1.42:") + depends_on("boost@1.42:1.43") + # new version uses cmake + def install(self, spec, prefix): + libelf = spec['libelf'].prefix + libdwarf = spec['libdwarf'].prefix + + with working_dir('spack-build', create=True): + cmake('..', + '-DLIBELF_INCLUDE_DIR=%s' % join_path(libelf.include, 'libelf'), + '-DLIBELF_LIBRARIES=%s' % join_path(libelf.lib, 'libelf.so'), + '-DLIBDWARF_INCLUDE_DIR=%s' % libdwarf.include, + '-DLIBDWARF_LIBRARIES=%s' % join_path(libdwarf.lib, 'libdwarf.so'), + *std_cmake_args) + make() + make("install") + + + @when('@:8.1') def install(self, spec, prefix): configure("--prefix=" + prefix) make() |