commit:     dcefaff39743b3bfa5c7bc25b4ad8227f1105416
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 19:21:20 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 19:33:54 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcefaff3

llvm-runtimes/offload: Support level_zero plugin

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

 llvm-runtimes/offload/offload-23.0.0.9999.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/llvm-runtimes/offload/offload-23.0.0.9999.ebuild 
b/llvm-runtimes/offload/offload-23.0.0.9999.ebuild
index 24b4e5cb9ad2..5abf9e54f2a4 100644
--- a/llvm-runtimes/offload/offload-23.0.0.9999.ebuild
+++ b/llvm-runtimes/offload/offload-23.0.0.9999.ebuild
@@ -12,7 +12,10 @@ HOMEPAGE="https://openmp.llvm.org";
 
 LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
 SLOT="0/${LLVM_SOABI}"
-IUSE="+clang +debug ompt test llvm_targets_AMDGPU llvm_targets_NVPTX"
+IUSE="
+       +clang +debug ompt test
+       llvm_targets_AMDGPU llvm_targets_NVPTX llvm_targets_SPIRV
+"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -20,6 +23,7 @@ RDEPEND="
        ~llvm-core/llvm-${PV}
        ~llvm-runtimes/openmp-${PV}[ompt?]
        llvm_targets_AMDGPU? ( dev-libs/rocr-runtime:= )
+       llvm_targets_SPIRV? ( dev-libs/level-zero:= )
 "
 DEPEND="
        ${RDEPEND}
@@ -90,6 +94,9 @@ src_configure() {
                if use llvm_targets_NVPTX; then
                        plugins+=";cuda"
                fi
+               if use llvm_targets_SPIRV; then
+                       plugins+=";level_zero"
+               fi
        fi
 
        local mycmakeargs=(

Reply via email to