diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-07-02 23:22:38 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-07-02 23:24:10 -0700 |
commit | 05516389441e6818ff3ee22bb4e51d50b3bb5cd4 (patch) | |
tree | 3592d0b2cc494dae052b42e4136857a0efd85527 /var | |
parent | a7fd8be51468e923209ede9d517579042ab187a8 (diff) | |
download | spack-05516389441e6818ff3ee22bb4e51d50b3bb5cd4.tar.gz spack-05516389441e6818ff3ee22bb4e51d50b3bb5cd4.tar.bz2 spack-05516389441e6818ff3ee22bb4e51d50b3bb5cd4.tar.xz spack-05516389441e6818ff3ee22bb4e51d50b3bb5cd4.zip |
Add TAU package and routines to filter files, fix sed calls.
- TAU doesn't install to directories with '@' in the name.
- Need to fix up its scripts.
- routines to filter files as sed would, but using python regular expressions.
- TAU package uses this.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/tau/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/packages/tau/package.py b/var/spack/packages/tau/package.py new file mode 100644 index 0000000000..373c51c8b8 --- /dev/null +++ b/var/spack/packages/tau/package.py @@ -0,0 +1,20 @@ +from spack import * + +class Tau(Package): + """A portable profiling and tracing toolkit for performance + analysis of parallel programs written in Fortran, C, C++, UPC, + Java, Python.""" + homepage = "http://www.cs.uoregon.edu/research/tau" + url = "http://www.cs.uoregon.edu/research/paracomp/tau/tauprofile/dist/tau-2.23.1.tar.gz" + + versions = { '2.23.1' : '6593b47ae1e7a838e632652f0426fe72', } + + def install(self, spec, prefix): + # TAU isn't happy with directories that have '@' in the path. Sigh. + change_sed_delimiter('@', ';', 'configure') + change_sed_delimiter('@', ';', 'utils/FixMakefile') + change_sed_delimiter('@', ';', 'utils/FixMakefile.sed.default') + + # After that, it's relatively standard. + configure("-prefix=%s" % prefix) + make("install") |