* General logging updates
* ROCm 6.1.x fatal defect: unconditional abort if tool found but rocprofiler-sdk missing
- Adding rocprofiler-sdk support breaks backwards compatibility in ROCm 6.1.x because `rocprofiler_configure` symbol triggers looking for rocprofiler-sdk library (which was not released until ROCm 6.2)
- Bump version to 0.5.0
* revert to using fatal error
* Include header updates
* Fix CodeQL suggestions
* CMake and CI updates
- minimum cmake version is 3.22.0
- added requirements.txt
- improved rocprofiler_register_{formatting,linting}.cmake
* Disable deprecated declarations warnings
* Use "overwrite" instead of "override"
- override is a keyword in C++
* Disable REQUIRED for formatting and linting when BUILD_DEVELOPER=ON
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
* Fix packaging
- Bump version to 0.3.0
- Set CMAKE_INSTALL_DEFAULT_COMPONENT at high level
- Fix HOMEPAGE_URL
- Update install components
- Install tests directory
- Create two separate packages: core and tests
- Auto-generate deps based on shared libs (DEB and RPM)
- Auto-generate list of shared libs provided by package (DEB and RPM)
- cleanup cmake/rocprofiler_register_utilities.cmake
* Enable sanitizer jobs
* Update cmake/rocprofiler_register_memcheck.cmake
- set env for LD_PRELOAD
* Update tests for sanitizer jobs
* Remove loading librocprofiler64.so
- this library does not have rocprofiler_set_api_table symbol
* Link to static fmt library
* Added submodules for glog/fmt
Removes existing printing/formatting code.
* Update external/CMakeLists.txt
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
* Update external/CMakeLists.txt
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
* Update external/CMakeLists.txt
- checkout submodule if not already checked out or clone repo if no .gitmodules file
- find_package(... REQUIRED)
* Disable tests from external directory
* Update external/CMakeLists.txt
- fix type: BRANCH -> REPO_BRANCH
* Update cmake/rocprofiler_register_formatting.cmake
- Include external/CMakeLists.txt in format-cmake target
- include format-cmake in format target
* Fix cmake options
- ROCPROFILE_REGISTER_* -> ROCPROFILER_REGISTER_*
* Update rocprofiler_register_linting.cmake
- fix header filter to exclude external headers
- enable warning-as-errors except for misc-header-include-cycle because that originates in fmt headers
* Fix clang-tidy error in utility.cpp
- a bit out of place in this PR but caught due to --warning-as-errors addition
---------
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>