1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2013-2023 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)
|