public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rocprim] rawhide: Remove broken test in preview
@ 2026-08-31 21:51 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-08-31 21:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rocprim
            Branch : rawhide
            Commit : 0be4b70cb26bfb19227f13cafeffdccd5307758d
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-08-31T14:50:46-07:00
            Stats  : +13/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rocprim/c/0be4b70cb26bfb19227f13cafeffdccd5307758d?branch=rawhide

            Log:
            Remove broken test in preview

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/rocprim.spec b/rocprim.spec
index 9721742..17e95d0 100644
--- a/rocprim.spec
+++ b/rocprim.spec
@@ -168,7 +168,19 @@ tests for the rocPRIM package
 #   'tex1Dfetch<int, nullptr>' is unavailable: The image/texture API not supported on the device
 # Remove fail to build test
 sed -i -e 's@add_rocprim_test("rocprim.texture_cache_iterator"@#add_rocprim_test("rocprim.texture_cache_iterator"@' test/rocprim/CMakeLists.txt
-grep texture_cach test/rocprim/CMakeLists.txt
+# grep texture_cach test/rocprim/CMakeLists.txt
+
+%if %{with preview}
+# rocprim-10.0.0-build/rocprim/test/rocprim/test_device_segmented_topk.cpp:96:8: error:
+# redefinition of 'hash<__int128>'
+#   96 | struct hash<rocprim::int128_t>
+#      |        ^~~~~~~~~~~~~~~~~~~~~~~
+# /usr/lib/gcc/x86_64-redhat-linux/16/../../../../include/c++/16/bits/functional_hash.h:206:3:
+# note: previous definition is here
+#  206 |   _Cxx_hashtable_define_trivial_hash(__int128)
+#      |   ^
+sed -i -e 's@add_rocprim_test("rocprim.device_topk_segmented" test_device_segmented_topk.cpp)@#add_rocprim_test("rocprim.device_topk_segmented" test_device_segmented_topk.cpp)@' test/rocprim/CMakeLists.txt     
+%endif
 
 %build
 %cmake \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-31 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-31 21:51 [rpms/rocprim] rawhide: Remove broken test in preview Tom Rix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox