abf88043ca
* Rework submodule installation
- use add_subdirectory(... EXCLUDE_FROM_ALL) + explicit installation of deps
- install all library deps to lib/omnitrace
- internal builds of dyninst use libomnitrace-rt for binary rewriting
- support libdyninstAPI_RT not in LD_LIBRARY_PATH when dyninst built internally
* Update ubuntu-focal to test full dyninst install
* Use RelWithDebInfo because Dyninst segfaults with MinSizeRel
* Fix ubuntu-focal.yml install step
[ROCm/rocprofiler-systems commit: fadcfa36da]
13 lines
378 B
CMake
13 lines
378 B
CMake
# executable RPATH
|
|
set(OMNITRACE_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/omnitrace")
|
|
|
|
# executables
|
|
add_subdirectory(omnitrace-avail)
|
|
add_subdirectory(omnitrace-critical-trace)
|
|
add_subdirectory(omnitrace)
|
|
|
|
if(OMNITRACE_BUILD_TESTING OR "$ENV{OMNITRACE_CI}" MATCHES "[1-9]+|ON|on|y|yes")
|
|
add_subdirectory(tests)
|
|
endif()
|