From 4dac00f35c7c71296ec593d7a96823718054d61a Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Sun, 15 Jun 2025 11:35:52 +0000 Subject: [PATCH] dev-libs/rocr-runtime: skip CMake 4 and rocprofiler-register warnings Closes: https://bugs.gentoo.org/958188 Signed-off-by: Sv. Lockal Part-of: https://github.com/gentoo/gentoo/pull/42608 Signed-off-by: Sam James --- dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild b/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild index 7b5f75e8ed29a..fc6f6e16d75ff 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild @@ -62,5 +62,12 @@ src_configure() { use debug || append-cxxflags "-DNDEBUG" + # skip false positive detection in samples, bug #958188 + local CMAKE_QA_COMPAT_SKIP=1 + + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_rocprofiler-register=ON + ) + cmake_src_configure }