commit:     524ed86abae0ea05c6325f35811759dfdb0d5f51
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 14 10:50:20 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 10:50:20 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524ed86a

profiles/arch: Mask offload[llvm_targets_SPIRV] on non-amd64

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/arch/amd64/package.use.mask | 4 ++++
 profiles/arch/base/package.use.mask  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index 31fa93e22759..f2e61e1280f3 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Michał Górny <[email protected]> (2026-03-14)
+# SPIRV target requires dev-libs/level-zero.
+llvm-runtimes/offload -llvm_targets_SPIRV
+
 # Michał Górny <[email protected]> (2026-03-03)
 # OpenMP offloading GPU runtimes are not keyworded everywhre.
 llvm-runtimes/clang-runtime -llvm_targets_AMDGPU -llvm_targets_NVPTX

diff --git a/profiles/arch/base/package.use.mask 
b/profiles/arch/base/package.use.mask
index fdac31d54dbf..29eaaa70c969 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Michał Górny <[email protected]> (2026-03-14)
+# SPIRV target requires dev-libs/level-zero.
+llvm-runtimes/offload llvm_targets_SPIRV
+
 # Michał Górny <[email protected]> (2026-03-03)
 # OpenMP offloading GPU runtimes are not keyworded everywhre.
 llvm-runtimes/clang-runtime llvm_targets_AMDGPU llvm_targets_NVPTX

Reply via email to