From 8883078021689e40d96881c9f8f55cb90ff96021 Mon Sep 17 00:00:00 2001 From: ptaylor Date: Tue, 3 Feb 2026 16:46:38 -0800 Subject: [PATCH] Disable build caching for CUB compile tests --- cub/test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cub/test/CMakeLists.txt b/cub/test/CMakeLists.txt index 982938a8539..c60289502d3 100644 --- a/cub/test/CMakeLists.txt +++ b/cub/test/CMakeLists.txt @@ -249,6 +249,9 @@ function( endif() endif() # Not catch2 test + # Disable build caching for compile tests + set_tests_properties(${test_target} PROPERTIES ENVIRONMENT SCCACHE_NO_CACHE=1) + # Ensure that we test with assertions enabled target_compile_definitions(${test_target} PRIVATE CCCL_ENABLE_ASSERTIONS) endfunction()