From c47c5d75e47cfade71dea78a9fdb4d4840759f21 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Tue, 10 May 2022 01:25:06 -0400 Subject: oneapi: add v2022.2 (#30531) --- lib/spack/spack/build_systems/oneapi.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') 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.""" -- cgit v1.2.3-70-g09d2