Changing CDash Project (#188)
* 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
This commit is contained in:
@@ -2,7 +2,7 @@ macro(dashboard_submit)
|
||||
ctest_submit()
|
||||
endmacro()
|
||||
|
||||
set(CTEST_PROJECT_NAME "aqlprofile-emu")
|
||||
set(CTEST_PROJECT_NAME "aqlprofile")
|
||||
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
|
||||
set(CTEST_DROP_METHOD "http")
|
||||
set(CTEST_DROP_SITE "cdash.rocprofiler.amd.com")
|
||||
@@ -42,7 +42,7 @@ if(NOT DEFINED AQLPROFILE_BUILD_NUM_JOBS)
|
||||
set(AQLPROFILE_BUILD_NUM_JOBS "16")
|
||||
endif()
|
||||
|
||||
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}")
|
||||
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")
|
||||
set(CTEST_BUILD_COMMAND "cmake --build \"${CTEST_BINARY_DIRECTORY}\" -- -j ${AQLPROFILE_BUILD_NUM_JOBS} all mytest")
|
||||
|
||||
if(NOT DEFINED CTEST_SITE)
|
||||
@@ -61,8 +61,10 @@ macro(handle_error _message _ret)
|
||||
endmacro()
|
||||
|
||||
ctest_start(Continuous)
|
||||
|
||||
ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE _update_ret)
|
||||
handle_error("Configure" _update_ret)
|
||||
handle_error("Update" _update_ret)
|
||||
|
||||
ctest_configure(SOURCE "${CTEST_SOURCE_DIRECTORY}" BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE _configure_ret)
|
||||
dashboard_submit(PARTS Start Update Configure RETURN_VALUE _submit_ret)
|
||||
|
||||
@@ -79,3 +81,8 @@ dashboard_submit(PARTS Test RETURN_VALUE _submit_ret)
|
||||
handle_error("Testing" _test_ret)
|
||||
|
||||
dashboard_submit(PARTS Done RETURN_VALUE _submit_ret)
|
||||
if(_submit_ret EQUAL 0)
|
||||
message(STATUS "Dashboard submission successful.")
|
||||
else()
|
||||
message(WARNING "Dashboard submission failed with code ${_submit_ret}.")
|
||||
endif()
|
||||
|
||||
@@ -14,7 +14,7 @@ import multiprocessing
|
||||
# and default value for CTEST_SUBMIT_URL
|
||||
# _PROJECT_NAME = "rocprofiler-v2-internal"
|
||||
# _BASE_URL = "10.194.116.31/cdash"
|
||||
_PROJECT_NAME = "rocprofiler-sdk-emu"
|
||||
_PROJECT_NAME = "rocprofiler-sdk"
|
||||
_BASE_URL = "cdash.rocprofiler.amd.com"
|
||||
_GCOVR_GENERATE_CMD = None
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ if __name__ == "__main__":
|
||||
"--repo-url",
|
||||
help="Base GitHub repo URL",
|
||||
type=str,
|
||||
default="https://github.com/AMD-ROCm-Internal/rocprofiler-sdk-internal",
|
||||
default="https://github.com/ROCm/rocm-systems",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-o",
|
||||
|
||||
Reference in New Issue
Block a user