From 1eecbd3208478a74b6b91a5288b059e96628e403 Mon Sep 17 00:00:00 2001 From: Robert Cohn Date: Fri, 26 Apr 2024 08:03:39 -0400 Subject: [PATCH] [intel-oneap-*] no redistribution (#43826) --- lib/spack/spack/build_systems/oneapi.py | 4 ++-- .../repos/builtin/packages/intel-oneapi-runtime/package.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/spack/spack/build_systems/oneapi.py b/lib/spack/spack/build_systems/oneapi.py index 3386511661..6988307f0b 100644 --- a/lib/spack/spack/build_systems/oneapi.py +++ b/lib/spack/spack/build_systems/oneapi.py @@ -14,7 +14,7 @@ from llnl.util.link_tree import LinkTree from spack.build_environment import dso_suffix -from spack.directives import conflicts, license, variant +from spack.directives import conflicts, license, redistribute, variant from spack.package_base import InstallError from spack.util.environment import EnvironmentModifications from spack.util.executable import Executable @@ -30,7 +30,7 @@ class IntelOneApiPackage(Package): # oneAPI license does not allow mirroring outside of the # organization (e.g. University/Company). - redistribute_source = False + redistribute(source=False, binary=False) for c in [ "target=ppc64:", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-runtime/package.py b/var/spack/repos/builtin/packages/intel-oneapi-runtime/package.py index c4a21a71c3..66e8957b8f 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-runtime/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-runtime/package.py @@ -10,8 +10,9 @@ from spack.pkg.builtin.gcc_runtime import get_elf_libraries +@IntelOneApiPackage.update_description class IntelOneapiRuntime(Package): - """Package for OneAPI compiler runtime libraries""" + """Package for OneAPI compiler runtime libraries redistributables.""" homepage = "https://software.intel.com/content/www/us/en/develop/tools/oneapi.html" has_code = False