From b5f9dea6d00d044b6b3f68fa5de854c9d2f8fbc9 Mon Sep 17 00:00:00 2001 From: wspear Date: Wed, 29 Jan 2025 13:47:48 -0800 Subject: [PATCH] Create SALT package.py (#48758) * Create SALT package.py Added a package for the SALT Source AnaLysis Toolkit @zbeekman * [@spackbot] updating style on behalf of wspear * Update package.py Line wrap --------- Co-authored-by: wspear --- .../repos/builtin/packages/salt/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/salt/package.py diff --git a/var/spack/repos/builtin/packages/salt/package.py b/var/spack/repos/builtin/packages/salt/package.py new file mode 100644 index 00000000000..b8619137e71 --- /dev/null +++ b/var/spack/repos/builtin/packages/salt/package.py @@ -0,0 +1,23 @@ +# Copyright Spack Project Developers. See COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Salt(CMakePackage): + """SALT: A next generation LLVM-based Source Analysis Toolkit for performance instrumentation + of HPC applications""" + + homepage = "https://github.com/ParaToolsInc/salt" + url = "https://github.com/ParaToolsInc/salt/archive/refs/tags/v0.2.0.tar.gz" + git = "https://github.com/ParaToolsInc/salt.git" + + maintainers("zbeekman", "wspear") + + license("Apache-2.0", checked_by="wspear") + + version("master", branch="master") + version("0.2.0", sha256="55c80f9d0591752b1e5b40e924718dc28f928ee0a3c7008adec3feab1280c57f") + + depends_on("llvm+clang+flang@19:")