Skip to content

Commit 6d56ec3

Browse files
ammarwasystems-assistant[bot]
authored andcommitted
Changing CDash Project
* Changing CDash Project * Fixing CI * Fixing AQLProfile CDash * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI * Fixing CI [rocm-systems] ROCm/rocm-systems#188 (commit 906030c)
1 parent 926ec4a commit 6d56ec3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

dashboard.cmake

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ macro(dashboard_submit)
22
ctest_submit()
33
endmacro()
44

5-
set(CTEST_PROJECT_NAME "aqlprofile-emu")
5+
set(CTEST_PROJECT_NAME "aqlprofile")
66
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
77
set(CTEST_DROP_METHOD "http")
88
set(CTEST_DROP_SITE "cdash.rocprofiler.amd.com")
@@ -42,7 +42,7 @@ if(NOT DEFINED AQLPROFILE_BUILD_NUM_JOBS)
4242
set(AQLPROFILE_BUILD_NUM_JOBS "16")
4343
endif()
4444

45-
set(CTEST_CONFIGURE_COMMAND "cmake -B ${CTEST_BINARY_DIRECTORY} -DCMAKE_BUILD_TYPE='RelWithDebInfo' -DCMAKE_PREFIX_PATH=/opt/rocm -DAQLPROFILE_BUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt/rocm -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rocm -DCPACK_GENERATOR='DEB;RPM;STGZ' -DGPU_TARGETS='gfx906,gfx90a,gfx942,gfx1101,gfx1201' ${AQLPROFILE_EXTRA_CONFIGURE_ARGS} ${CTEST_SOURCE_DIRECTORY}")
45+
set(CTEST_CONFIGURE_COMMAND "cmake -B ${CTEST_BINARY_DIRECTORY} -DCMAKE_BUILD_TYPE='RelWithDebInfo' -DCMAKE_PREFIX_PATH=/opt/rocm -DAQLPROFILE_BUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=/opt/rocm -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rocm -DCPACK_GENERATOR='DEB;RPM;STGZ' -DGPU_TARGETS='gfx906,gfx90a,gfx942,gfx1101,gfx1201' ${AQLPROFILE_EXTRA_CONFIGURE_ARGS} ${CTEST_SOURCE_DIRECTORY}/projects/aqlprofile")
4646
set(CTEST_BUILD_COMMAND "cmake --build \"${CTEST_BINARY_DIRECTORY}\" -- -j ${AQLPROFILE_BUILD_NUM_JOBS} all mytest")
4747

4848
if(NOT DEFINED CTEST_SITE)
@@ -61,8 +61,10 @@ macro(handle_error _message _ret)
6161
endmacro()
6262

6363
ctest_start(Continuous)
64+
6465
ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE _update_ret)
65-
handle_error("Configure" _update_ret)
66+
handle_error("Update" _update_ret)
67+
6668
ctest_configure(SOURCE "${CTEST_SOURCE_DIRECTORY}" BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE _configure_ret)
6769
dashboard_submit(PARTS Start Update Configure RETURN_VALUE _submit_ret)
6870

@@ -79,3 +81,8 @@ dashboard_submit(PARTS Test RETURN_VALUE _submit_ret)
7981
handle_error("Testing" _test_ret)
8082

8183
dashboard_submit(PARTS Done RETURN_VALUE _submit_ret)
84+
if(_submit_ret EQUAL 0)
85+
message(STATUS "Dashboard submission successful.")
86+
else()
87+
message(WARNING "Dashboard submission failed with code ${_submit_ret}.")
88+
endif()

0 commit comments

Comments
 (0)