Files
TheRock/rocm-systems/projects/rocprofiler-sdk/source/lib/output/CMakeLists.txt
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

84 lines
2.4 KiB
CMake

#
# Tool library used by rocprofiler
#
rocprofiler_activate_clang_tidy()
set(TOOL_OUTPUT_HEADERS
agent_info.hpp
buffered_output.hpp
counter_info.hpp
csv.hpp
csv_output_file.hpp
domain_type.hpp
format_path.hpp
generateCSV.hpp
generateJSON.hpp
generateOTF2.hpp
generatePerfetto.hpp
generateStats.hpp
generateRocpd.hpp
generator.hpp
host_symbol_info.hpp
kernel_symbol_info.hpp
kfd_info.hpp
metadata.hpp
node_info.hpp
output_config.hpp
output_key.hpp
output_stream.hpp
statistics.hpp
stream_info.hpp
timestamps.hpp
tmp_file_buffer.hpp
tmp_file.hpp)
set(TOOL_OUTPUT_SOURCES
csv_output_file.cpp
counter_info.cpp
domain_type.cpp
format_path.cpp
generateCSV.cpp
generateJSON.cpp
generateOTF2.cpp
generatePerfetto.cpp
generateStats.cpp
generateRocpd.cpp
metadata.cpp
node_info.cpp
output_config.cpp
output_key.cpp
output_stream.cpp
statistics.cpp
tmp_file_buffer.cpp
tmp_file.cpp)
add_library(rocprofiler-sdk-output-library STATIC)
add_library(rocprofiler-sdk::rocprofiler-sdk-output-library ALIAS
rocprofiler-sdk-output-library)
target_sources(rocprofiler-sdk-output-library PRIVATE ${TOOL_OUTPUT_SOURCES}
${TOOL_OUTPUT_HEADERS})
# targets linking to this library should also link to the
# rocprofiler-sdk::rocprofiler-sdk-sqlite3 target if the target is a shared library. Do
# not link to the sqlite3 library here because the Python bindings target should not
# directly link to the sqlite3 library.
target_link_libraries(
rocprofiler-sdk-output-library
PUBLIC rocprofiler-sdk::rocprofiler-sdk-rocpd-library
rocprofiler-sdk::rocprofiler-sdk-aqlprofile
PRIVATE rocprofiler-sdk::rocprofiler-sdk-headers
rocprofiler-sdk::rocprofiler-sdk-build-flags
rocprofiler-sdk::rocprofiler-sdk-memcheck
rocprofiler-sdk::rocprofiler-sdk-common-library
rocprofiler-sdk::rocprofiler-sdk-cereal
rocprofiler-sdk::rocprofiler-sdk-perfetto
rocprofiler-sdk::rocprofiler-sdk-otf2
rocprofiler-sdk::rocprofiler-sdk-amd-comgr
rocprofiler-sdk::rocprofiler-sdk-dw
rocprofiler-sdk::rocprofiler-sdk-elf)
target_compile_definitions(rocprofiler-sdk-output-library
PRIVATE PROJECT_BINARY_DIR="${PROJECT_BINARY_DIR}")
add_subdirectory(sql)