File: verbose-build.patch

package info (click to toggle)
rocprim 6.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,428 kB
  • sloc: cpp: 153,383; python: 1,397; sh: 404; xml: 217; makefile: 119
file content (28 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Cordell Bloor <cgmb@slerp.xyz>
Date: Mon, 25 Mar 2024 15:12:34 -0600
Subject: verbose build

Some rocprim source files are large enough that they've been split into
slices to try to compile faster. However, they're still quite slow to
build on the older buildd machines. The verbose flag ensures that a
message is printed every time the compiler finishes building a
translation unit for each GPU architecture, which should help prevent
timeouts if the build is still making forward progress.

Forwarded: not-needed
---
 test/rocprim/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/rocprim/CMakeLists.txt b/test/rocprim/CMakeLists.txt
index 03d9a14..86a9694 100644
--- a/test/rocprim/CMakeLists.txt
+++ b/test/rocprim/CMakeLists.txt
@@ -197,6 +197,7 @@ ${TEST_TYPE_SLICE_COUNT} test type slice(s) for test target ${TEST_TARGET}")
         set(FILENAME "${TEST_TARGET}.parallel/${TEST_TARGET}_typed_${ROCPRIM_TEST_SUITE_SLICE}_${ROCPRIM_TEST_TYPE_SLICE}.cpp")
         configure_file(${TEST_SOURCE} ${FILENAME} @ONLY)
         list(APPEND SOURCES "${CMAKE_CURRENT_BINARY_DIR}/${FILENAME}")
+        set_source_files_properties("${CMAKE_CURRENT_BINARY_DIR}/${FILENAME}" PROPERTIES COMPILE_FLAGS "-v")
       endforeach()
     endforeach()
   endif()