commit:     4dac00f35c7c71296ec593d7a96823718054d61a
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Jun 15 11:35:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 16:10:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dac00f3

dev-libs/rocr-runtime: skip CMake 4 and rocprofiler-register warnings

Closes: https://bugs.gentoo.org/958188
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42608
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 7b5f75e8ed29..fc6f6e16d75f 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
 }

Reply via email to