From ff2874333def2d62f2c8b0e4af9d1c44afc53e33 Mon Sep 17 00:00:00 2001 From: robgics <32717310+robgics@users.noreply.github.com> Date: Thu, 25 Aug 2022 14:03:07 -0400 Subject: 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 --- var/spack/repos/builtin/packages/ddt/package.py | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 var/spack/repos/builtin/packages/ddt/package.py 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) -- cgit v1.2.3-70-g09d2