88aa2d3cbe
- Renames the CMake option "ROCPROFSYS_USE_HIP" to "ROCPROFSYS_USE_ROCM" - Remove the "ROCPROFSYS_USE_ROCM_SMI option. Controlled with the "ROCPROFSYS_USE_ROCM" option, instead. - Runtime configuration can still toggle ROCPROFSYS_USE_ROCM_SMI to disable the sampling. - Rename ROCPROFSYS_HIP_VERSION macro to ROCPROFSYS_ROCM_VERSION and remove blocks for `ROCPROFSYS_ROCM_VERSION < 60000` - Remove ROCPROFSYS_USE_ROCTRACER and ROCPROFSYS_USE_ROCPROFILER - Update test cases - Update docker files and workflows to install cmake 3.21, which is required for the rocprofiler-sdk findPackage script. - Removed rocm-6.2 from workflows due to a rocprofiler-sdk API change.
18 lines
481 B
CMake
18 lines
481 B
CMake
# executable RPATH
|
|
|
|
set(ROCPROFSYS_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}"
|
|
)
|
|
|
|
# executables
|
|
add_subdirectory(rocprof-sys-avail)
|
|
add_subdirectory(rocprof-sys-causal)
|
|
add_subdirectory(rocprof-sys-sample)
|
|
add_subdirectory(rocprof-sys-instrument)
|
|
add_subdirectory(rocprof-sys-run)
|
|
|
|
# tests
|
|
if(ROCPROFSYS_BUILD_TESTING OR "$ENV{ROCPROFSYS_CI}" MATCHES "[1-9]+|ON|on|y|yes")
|
|
add_subdirectory(tests)
|
|
endif()
|