From 232086c6af2301bcd329b8b857b67284cfb4f2b2 Mon Sep 17 00:00:00 2001 From: g-mathias <40861554+g-mathias@users.noreply.github.com> Date: Wed, 6 Oct 2021 19:25:18 +0200 Subject: [PATCH] new package: intel oneapi inspector (#26549) Co-authored-by: lu64bag3 --- .../intel-oneapi-inspector/package.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py diff --git a/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py b/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py new file mode 100644 index 0000000000..60c853886a --- /dev/null +++ b/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2021 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) + +import platform + +from spack import * + + +class IntelOneapiInspector(IntelOneApiPackage): + """Intel Inspector is a memory and thread checking and debugging tool to increase + the reliability, security, and accuracy of C/C++ and Fortran applications.""" + + maintainers = ['rscohn2'] + + homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/inspector.html' + + if platform.system() == 'Linux': + version('2021.4.0', + url='https://registrationcenter-download.intel.com/akdlm/irc_nas/18239/l_inspector_oneapi_p_2021.4.0.266_offline.sh', + sha256='c8210cbcd0e07cc75e773249a5e4a02cf34894ec80a213939f3a20e6c5705274', + expand=False) + version('2021.3.0', + url='https://registrationcenter-download.intel.com/akdlm/irc_nas/17946/l_inspector_oneapi_p_2021.3.0.217_offline.sh', + sha256='1371ca74be2a6d4b069cdb3f8f2d6109abbc3261a81f437f0fe5412a7b659b43', + expand=False) + + @property + def component_dir(self): + return 'inspector'