diff options
author | robgics <32717310+robgics@users.noreply.github.com> | 2022-08-25 14:03:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 11:03:07 -0700 |
commit | ff2874333def2d62f2c8b0e4af9d1c44afc53e33 (patch) | |
tree | ae91b4ad453c522bee6dbfbf99739be0a132ff22 | |
parent | 7214a438dc6d656db4c0626b7c0c8efd411f8350 (diff) | |
download | spack-ff2874333def2d62f2c8b0e4af9d1c44afc53e33.tar.gz spack-ff2874333def2d62f2c8b0e4af9d1c44afc53e33.tar.bz2 spack-ff2874333def2d62f2c8b0e4af9d1c44afc53e33.tar.xz spack-ff2874333def2d62f2c8b0e4af9d1c44afc53e33.zip |
ddt: Initial commit (#32338)
* ddt: Initial commit
* ddt: Minor change to license date to appease the CI gods
* Get rid of unattractive extra line
* Switch to sha256 instead of md5
-rw-r--r-- | var/spack/repos/builtin/packages/ddt/package.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ddt/package.py b/var/spack/repos/builtin/packages/ddt/package.py new file mode 100644 index 0000000000..610391b521 --- /dev/null +++ b/var/spack/repos/builtin/packages/ddt/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2022 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.package import * + + +class Ddt(Package): + """Arm DDT is the number one debugger in research, industry, and academia + for software engineers and scientists developing C++, C, Fortran parallel + and threaded applications on CPUs, GPUs, Intel and Arm. Arm DDT is trusted + as a powerful tool for automatic detection of memory bugs and divergent + behavior to achieve lightning-fast performance at all scales.""" + + homepage = "https://arm.com" + url = "http://content.allinea.com/downloads/arm-forge-22.0.2-linux-x86_64.tar" + + maintainers = ["robgics"] + + license_required = True + license_files = ["./licences/ddt.lic"] + + # Versions before 22.0 have a security vulnerability. Do not install them. + version("22.0.2", sha256="3db0c3993d1db617f850c48d25c9239f06a018c895ea305786a7ad836a44496d") + + def setup_run_environment(self, env): + env.prepend_path("PATH", join_path(self.prefix, "bin")) + + def install(self, spec, prefix): + install_shell = which("sh") + args = ["./textinstall.sh", "--accept-license", prefix] + install_shell(*args) |