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
This commit is contained in:
parent
7214a438dc
commit
ff2874333d
1 changed files with 33 additions and 0 deletions
33
var/spack/repos/builtin/packages/ddt/package.py
Normal file
33
var/spack/repos/builtin/packages/ddt/package.py
Normal file
|
@ -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)
|
Loading…
Reference in a new issue