diff options
author | Matthias Diener <matthias.diener@gmail.com> | 2019-03-01 12:29:01 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-03-01 12:29:01 -0600 |
commit | ee5e5ce3c638a5f6292d1bff4597b50d1722aab5 (patch) | |
tree | 6d7794d9d47bc9a2b1c23b7db85edbf786aaaa4c | |
parent | 1a8161a9826ffbcdfc1ed3c165461127d85bc937 (diff) | |
download | spack-ee5e5ce3c638a5f6292d1bff4597b50d1722aab5.tar.gz spack-ee5e5ce3c638a5f6292d1bff4597b50d1722aab5.tar.bz2 spack-ee5e5ce3c638a5f6292d1bff4597b50d1722aab5.tar.xz spack-ee5e5ce3c638a5f6292d1bff4597b50d1722aab5.zip |
new package: intel-pin (#10546)
-rw-r--r-- | var/spack/repos/builtin/packages/intel-pin/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-pin/package.py b/var/spack/repos/builtin/packages/intel-pin/package.py new file mode 100644 index 0000000000..4ad11b121f --- /dev/null +++ b/var/spack/repos/builtin/packages/intel-pin/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * +from os import symlink + + +class IntelPin(Package): + """Intel Pin is a dynamic binary instrumentation framework for the IA-32, + x86-64 and MIC instruction-set architectures that enables the creation of + dynamic program analysis tools.""" + + homepage = "http://www.pintool.org" + maintainers = ['matthiasdiener'] + + version('3.7', sha256='4730328795be61f1addb0e505a3792a4b4ca80b1b9405acf217beec6b5b90fb8', url='https://software.intel.com/sites/landingpage/pintool/downloads/pin-3.7-97619-g0d0c92f4f-gcc-linux.tar.gz') + + def install(self, spec, prefix): + install_tree('.', prefix) + mkdir(prefix.bin) + symlink(join_path(prefix, 'pin'), join_path(prefix.bin, 'pin')) |