commit:     1d05c10ecfc1a4d2dcaa6b8fe5165fe76162d8a1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 30 05:23:28 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 06:08:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d05c10e

dev-libs/rocr-runtime: move CMAKE_QA_COMPAT_SKIP=1 to global

Eclass moved where this check is done, and may as well set it
globally than move it to _prepare to avoid potential future
issues.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 fc6f6e16d75f..525dcc5b1fdc 100644
--- a/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild
+++ b/dev-libs/rocr-runtime/rocr-runtime-6.4.1.ebuild
@@ -42,6 +42,9 @@ PATCHES=(
        "${FILESDIR}/${PN}-6.3.0-use-system-hsakmt.patch"
 )
 
+# skip false positive detection in samples, bug #958188
+CMAKE_QA_COMPAT_SKIP=1
+
 src_prepare() {
        cd "${S}/runtime/hsa-runtime" || die
        eapply "${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
@@ -62,9 +65,6 @@ 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
        )

Reply via email to