commit:     216d29c0d8aaa94152c2fe9c56cbe04743a5e57a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 10 07:09:46 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 10 07:43:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216d29c0

llvm-runtimes/offload: Remove DeviceRTL bits from 22.0.0.9999

Upstream has stopped using DeviceRTL bits in offload, so remove
the relevant bits from CMake invocation.  We are supposed to be building
them through openmp package somehow.

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

 llvm-runtimes/offload/offload-22.0.0.9999.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/llvm-runtimes/offload/offload-22.0.0.9999.ebuild 
b/llvm-runtimes/offload/offload-22.0.0.9999.ebuild
index 5f4ab8697496..6075a4e2bf97 100644
--- a/llvm-runtimes/offload/offload-22.0.0.9999.ebuild
+++ b/llvm-runtimes/offload/offload-22.0.0.9999.ebuild
@@ -87,16 +87,13 @@ src_configure() {
        local ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
        local ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
        local plugins="host"
-       local build_devicertl=FALSE
 
        if has "${CHOST%%-*}" aarch64 powerpc64le x86_64; then
                if use llvm_targets_AMDGPU; then
                        plugins+=";amdgpu"
-                       build_devicertl=TRUE
                fi
                if use llvm_targets_NVPTX; then
                        plugins+=";cuda"
-                       build_devicertl=TRUE
                fi
        fi
 
@@ -107,7 +104,6 @@ src_configure() {
                -DOFFLOAD_INCLUDE_TESTS=$(usex test)
                -DLIBOMPTARGET_PLUGINS_TO_BUILD="${plugins}"
                -DLIBOMPTARGET_OMPT_SUPPORT="$(usex ompt)"
-               -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB="${build_devicertl}"
 
                # this breaks building static target libs
                -DBUILD_SHARED_LIBS=OFF

Reply via email to