diff options
author | G-Ragghianti <33492707+G-Ragghianti@users.noreply.github.com> | 2022-06-04 08:31:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 14:31:41 +0200 |
commit | f4a4b3fa8781f4c5e66e652919b1c70531f121e1 (patch) | |
tree | 0f5797dd0b331ec38cb2227dca144a50ad8d629c /var | |
parent | 6b3607287a872d270485a290004ae8f1b685a8c5 (diff) | |
download | spack-f4a4b3fa8781f4c5e66e652919b1c70531f121e1.tar.gz spack-f4a4b3fa8781f4c5e66e652919b1c70531f121e1.tar.bz2 spack-f4a4b3fa8781f4c5e66e652919b1c70531f121e1.tar.xz spack-f4a4b3fa8781f4c5e66e652919b1c70531f121e1.zip |
Intel oneAPI DPCPP compatibility toolkit: add new package (#30986)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py new file mode 100644 index 0000000000..9706984837 --- /dev/null +++ b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py @@ -0,0 +1,27 @@ +# 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) + +import platform + +from spack.package import * + + +@IntelOneApiPackage.update_description +class IntelOneapiDpct(IntelOneApiPackage): + """Intel oneAPI DPC++ Compatibility Tool.""" + + maintainers = ['rscohn2'] + + homepage = 'https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html#gs.2p8km6' + + if platform.system() == 'Linux': + version('2022.1.0', + url='https://registrationcenter-download.intel.com/akdlm/irc_nas/18746/l_dpcpp-ct_p_2022.1.0.172_offline.sh', + sha256='ec42f4df3f9daf1af587b14b8b6644c773a0b270e03dd22ac9e2f49131e3e40c', + expand=False) + + @property + def component_dir(self): + return 'dpcpp-ct' |