2022-03-07 20:40:48 -06:00
|
|
|
# ----------------------------------------------------------------------------- #
|
2022-02-19 02:00:59 -06:00
|
|
|
#
|
2022-03-07 20:40:48 -06:00
|
|
|
# omnitrace: contains all instrumentation functionality
|
2022-02-19 02:00:59 -06:00
|
|
|
#
|
2022-03-07 20:40:48 -06:00
|
|
|
# omnitrace-dl: contains minimal symbols and dlopen's omnitrace
|
2022-02-19 02:00:59 -06:00
|
|
|
#
|
2022-03-07 20:40:48 -06:00
|
|
|
# omnitrace-user: contains symbols for user API
|
2022-02-19 02:00:59 -06:00
|
|
|
#
|
2022-03-07 20:40:48 -06:00
|
|
|
# ----------------------------------------------------------------------------- #
|
2022-02-23 06:59:32 -06:00
|
|
|
|
2022-08-02 14:19:04 -05:00
|
|
|
if(OMNITRACE_USE_ROCPROFILER
|
|
|
|
|
AND rocprofiler_LIBRARY_DIR
|
|
|
|
|
AND ROCmVersion_TRIPLE_VERSION VERSION_LESS 5.2.0
|
|
|
|
|
AND NOT CMAKE_INSTALL_RPATH_USE_LINK_PATH)
|
|
|
|
|
set(OMNITRACE_LIB_INSTALL_RPATH
|
|
|
|
|
"\$ORIGIN:\$ORIGIN/omnitrace:${rocprofiler_LIBRARY_DIR}")
|
|
|
|
|
else()
|
|
|
|
|
set(OMNITRACE_LIB_INSTALL_RPATH "\$ORIGIN:\$ORIGIN/omnitrace")
|
|
|
|
|
endif()
|
2022-04-21 21:36:07 -05:00
|
|
|
|
2022-03-07 20:40:48 -06:00
|
|
|
add_subdirectory(common)
|
|
|
|
|
add_subdirectory(omnitrace)
|
|
|
|
|
add_subdirectory(omnitrace-dl)
|
|
|
|
|
add_subdirectory(omnitrace-user)
|