commit:     78641bcbec4a02fdc760a094742b2a87c64c4165
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Jun 15 09:21:31 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=78641bcb

dev-libs/rocm-comgr: fix misdetection of incorrect spirv-llvm-translator

Closes: https://bugs.gentoo.org/958178
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/rocm-comgr/rocm-comgr-6.4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/rocm-comgr/rocm-comgr-6.4.1.ebuild 
b/dev-libs/rocm-comgr/rocm-comgr-6.4.1.ebuild
index 0c683f96a2a7..cb671924c25f 100644
--- a/dev-libs/rocm-comgr/rocm-comgr-6.4.1.ebuild
+++ b/dev-libs/rocm-comgr/rocm-comgr-6.4.1.ebuild
@@ -80,6 +80,7 @@ src_configure() {
        local mycmakeargs=(
                -DCMAKE_STRIP=""  # disable stripping defined at 
lib/comgr/CMakeLists.txt:58
                -DBUILD_TESTING=$(usex test ON OFF)
+               -DCOMGR_DISABLE_SPIRV=ON  # requires ROCm/SPIRV-LLVM-Translator 
(fork of dev-util/spirv-llvm-translator)
        )
        # Prevent CMake from finding systemwide hip, which breaks tests
        use test && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_hip=ON )

Reply via email to