Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[intel-oneap-*] no redist #43826

Merged
merged 3 commits into from Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/spack/spack/build_systems/oneapi.py
Expand Up @@ -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
Expand All @@ -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:",
Expand Down
Expand Up @@ -19,6 +19,12 @@ class IntelOneapiRuntime(Package):

maintainers("rscohn2")

# The libraries are redistributable according to intel
# license. Need to investigate if the way it is redistributed
# meets the conditions of the license. Until then, disable
# distribution
redistribute(source=False, binary=False)
rscohn2 marked this conversation as resolved.
Show resolved Hide resolved

tags = ["runtime"]

requires("%oneapi")
Expand Down