diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/ddt/package.py')
-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) |