summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Cohn <robert.s.cohn@intel.com>2022-05-10 01:25:06 -0400
committerGitHub <noreply@github.com>2022-05-10 07:25:06 +0200
commitc47c5d75e47cfade71dea78a9fdb4d4840759f21 (patch)
tree7e1e57a287432cefbbecd2f8878c702fbf54cc6a /lib
parenta0d46304481adc7ff70c80ff17802a02a7b55f06 (diff)
downloadspack-c47c5d75e47cfade71dea78a9fdb4d4840759f21.tar.gz
spack-c47c5d75e47cfade71dea78a9fdb4d4840759f21.tar.bz2
spack-c47c5d75e47cfade71dea78a9fdb4d4840759f21.tar.xz
spack-c47c5d75e47cfade71dea78a9fdb4d4840759f21.zip
oneapi: add v2022.2 (#30531)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/oneapi.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/spack/spack/build_systems/oneapi.py b/lib/spack/spack/build_systems/oneapi.py
index 4e64156381..d8120b5293 100644
--- a/lib/spack/spack/build_systems/oneapi.py
+++ b/lib/spack/spack/build_systems/oneapi.py
@@ -30,6 +30,15 @@ class IntelOneApiPackage(Package):
# organization (e.g. University/Company).
redistribute_source = False
+ @staticmethod
+ def update_description(cls):
+ """Updates oneapi package descriptions with common text."""
+
+ text = """ LICENSE INFORMATION: By downloading and using this software, you agree to the terms
+ and conditions of the software license agreements at https://intel.ly/393CijO."""
+ cls.__doc__ = cls.__doc__ + text
+ return cls
+
@property
def component_dir(self):
"""Subdirectory for this component in the install prefix."""