ab551e7eb7
* Delete core critical-trace files
* Update docs and README
* Update workflows
* Update testing
* Update cmake
* Remove critical trace usage in source code
* Update source/docs/critical_trace.md
- fix spelling
* Formatting
* Update bin/omnitrace-avail/avail.cpp
- statically allocate shared pointers for timemory manager and hash id/aliases to prevent use-after-free errors
[ROCm/rocprofiler-systems commit: 9499e2f521]
28 خطوط
867 B
CMake
28 خطوط
867 B
CMake
# executable RPATH
|
|
|
|
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_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/omnitrace:${rocprofiler_LIBRARY_DIR}"
|
|
)
|
|
else()
|
|
set(OMNITRACE_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/omnitrace"
|
|
)
|
|
endif()
|
|
|
|
# executables
|
|
add_subdirectory(omnitrace-avail)
|
|
add_subdirectory(omnitrace-causal)
|
|
add_subdirectory(omnitrace-sample)
|
|
add_subdirectory(omnitrace-instrument)
|
|
add_subdirectory(omnitrace-run)
|
|
# omnitrace-exe is deprecated
|
|
add_subdirectory(omnitrace-exe)
|
|
|
|
if(OMNITRACE_BUILD_TESTING OR "$ENV{OMNITRACE_CI}" MATCHES "[1-9]+|ON|on|y|yes")
|
|
add_subdirectory(tests)
|
|
endif()
|