ea282d9301
* v1.3.0 * ROCm 5.2 and extensions tweaks * Container workflow + miscellaneous updates * Misc fixes + timemory submodule update - timemory submodule update for multiple definitions of variant_apply * Increase timeouts * Remove obsolete Julia docs and script - support for rocprofiler makes rocprof merging obsolete * Fix cpack testing and combine cpack workflows into single script * Install components + omnitrace tpl exes - Improved COMPONENT specification for installs - Install PAPI executables with omnitrace- prefix and hyphens - Install Perfetto executables with omnitrace- prefix and hyphens * Update docs on perfetto and papi command-line tools * remove ubuntu 22.04 from containers workflow * remove containers workflow running on all pushes * Fix CI_SCRIPT_ARGS * Fix PAPI utils install * Fixed traced test in workflow + removed return char - validate-perfetto-proto.py had return character * Fix test-docker-release.sh script to use correct container * Release build bc RelWtihDebInfo using too much memory
40 lignes
1.6 KiB
CMake
40 lignes
1.6 KiB
CMake
# ------------------------------------------------------------------------------#
|
|
#
|
|
# omnitrace-avail target
|
|
#
|
|
# ------------------------------------------------------------------------------#
|
|
|
|
add_executable(omnitrace-avail)
|
|
|
|
target_sources(
|
|
omnitrace-avail
|
|
PRIVATE ${CMAKE_CURRENT_LIST_DIR}/avail.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/avail.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/common.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/common.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/component_categories.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/defines.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/enumerated_list.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/generate_config.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/generate_config.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/get_availability.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/get_categories.hpp
|
|
${CMAKE_CURRENT_LIST_DIR}/info_type.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/info_type.hpp
|
|
$<TARGET_OBJECTS:omnitrace::omnitrace-object-library>)
|
|
|
|
target_include_directories(omnitrace-avail PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
|
target_compile_definitions(omnitrace-avail PRIVATE OMNITRACE_EXTERN_COMPONENTS=0)
|
|
target_link_libraries(omnitrace-avail PRIVATE omnitrace::omnitrace-compile-definitions
|
|
omnitrace::omnitrace-interface-library)
|
|
set_target_properties(
|
|
omnitrace-avail
|
|
PROPERTIES BUILD_RPATH "\$ORIGIN:${PROJECT_BINARY_DIR}:${CMAKE_BINARY_DIR}"
|
|
INSTALL_RPATH_USE_LINK_PATH ON
|
|
INSTALL_RPATH "${OMNITRACE_EXE_INSTALL_RPATH}")
|
|
|
|
install(
|
|
TARGETS omnitrace-avail
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
OPTIONAL)
|