diff options
author | sameershende <sameershende@users.noreply.github.com> | 2019-05-31 08:01:19 -0700 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-05-31 10:01:19 -0500 |
commit | f5a2d7698d17346e4a7ac34e0ae4c79b5090d8c7 (patch) | |
tree | 9ea48ca71df440aff02f9c1500521a5448bd91b0 /var | |
parent | a441fcbe699a6d54f644e123491abd0f95e27321 (diff) | |
download | spack-f5a2d7698d17346e4a7ac34e0ae4c79b5090d8c7.tar.gz spack-f5a2d7698d17346e4a7ac34e0ae4c79b5090d8c7.tar.bz2 spack-f5a2d7698d17346e4a7ac34e0ae4c79b5090d8c7.tar.xz spack-f5a2d7698d17346e4a7ac34e0ae4c79b5090d8c7.zip |
Package/tau/tau 2.28.1 update (#11591)
* Updating the TAU package with 2.28 and public repo
* Cleaning up TAU package and fixing binutils to install extras
The extras variant will install the extra ELF headers needed
by the TAU package. The TAU package has been cleaned up and
extended.
* Adding some comments to the changes in binutils
* Adding correct python support, finding include and lib paths.
* Added PDT 3.25.1.
* Added TAU v2.28.1 with libdwarf and libelf.
* When +libdwarf is activated, +libelf is not automatically activated. It checks separately for libelf.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pdt/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/tau/package.py | 13 |
2 files changed, 14 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py index ce2c7920c4..1f312dc160 100644 --- a/var/spack/repos/builtin/packages/pdt/package.py +++ b/var/spack/repos/builtin/packages/pdt/package.py @@ -17,8 +17,9 @@ class Pdt(AutotoolsPackage): """ homepage = "https://www.cs.uoregon.edu/research/pdt/home.php" - url = "http://www.cs.uoregon.edu/research/paracomp/pdtoolkit/Download/pdtoolkit-3.22.1.tar.gz" + url = "http://www.cs.uoregon.edu/research/paracomp/pdtoolkit/Download/pdtoolkit-3.25.1.tar.gz" + version('3.25.1', 'a248b1d6874390dcb30feea16a26e0ef') version('3.25', '2cad41fcabf4c79cab8780d3b87f7bb4') version('3.24', 'b8fa5189e5602276ce225ba497b617e4') version('3.23', 'd61e7a631a27b00e58def52950230a2c') diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py index b744edf96d..a932938887 100644 --- a/var/spack/repos/builtin/packages/tau/package.py +++ b/var/spack/repos/builtin/packages/tau/package.py @@ -18,10 +18,11 @@ class Tau(Package): """ homepage = "http://www.cs.uoregon.edu/research/tau" - url = "https://www.cs.uoregon.edu/research/tau/tau_releases/tau-2.28.tar.gz" + url = "https://www.cs.uoregon.edu/research/tau/tau_releases/tau-2.28.1.tar.gz" git = "https://github.com/UO-OACISS/tau2" version('develop', branch='master') + version('2.28.1', '4e48fb477250f201ab00381cb43afea6') version('2.28', '68c6f13ae748d12c921456e494006796ca2b0efebdeef76ee7c898c81592883e') version('2.27.2p1', 'b9cc42ee8afdcfefe5104ab0a8f23a23') version('2.27.2', 'b264ab0df78112f9a529e59a5f4dc191') @@ -43,6 +44,8 @@ class Tau(Package): variant('phase', default=False, description='Generate phase based profiles') variant('papi', default=True, description='Activates Performance API') variant('binutils', default=True, description='Activates support of BFD GNU Binutils') + variant('libdwarf', default=True, description='Activates support of libdwarf') + variant('libelf', default=True, description='Activates support of libelf') variant('libunwind', default=True, description='Activates support of libunwind') variant('otf2', default=True, description='Activates support of Open Trace Format (OTF)') variant('pdt', default=True, description='Use PDT for source code instrumentation') @@ -67,6 +70,8 @@ class Tau(Package): depends_on('otf2@2.1:', when='+otf2') depends_on('likwid', when='+likwid') depends_on('papi', when='+papi') + depends_on('libdwarf', when='+libdwarf') + depends_on('libelf', when='+libdwarf') # TAU requires the ELF header support, libiberty and demangle. depends_on('binutils+libiberty+headers~nls', when='+binutils') depends_on('python@2.7:', when='+python') @@ -148,6 +153,12 @@ class Tau(Package): if '+binutils' in spec: options.append("-bfd=%s" % spec['binutils'].prefix) + if '+libdwarf' in spec: + options.append("-dwarf=%s" % spec['libdwarf'].prefix) + + if '+libelf' in spec: + options.append("-elf=%s" % spec['libelf'].prefix) + if '+libunwind' in spec: options.append("-unwind=%s" % spec['libunwind'].prefix) |