Skip to content

CMake Config - Updates#593

Merged
kiritigowda merged 3 commits intoROCm:developfrom
kiritigowda:kg/cmake-config
Aug 11, 2025
Merged

CMake Config - Updates#593
kiritigowda merged 3 commits intoROCm:developfrom
kiritigowda:kg/cmake-config

Conversation

@kiritigowda
Copy link
Copy Markdown
Collaborator

  • Find package rpp module
  • Version file auto generate

@kiritigowda kiritigowda self-assigned this Aug 4, 2025
@kiritigowda kiritigowda added enhancement New feature or request ci:precheckin labels Aug 4, 2025

This comment was marked as outdated.

@kiritigowda
Copy link
Copy Markdown
Collaborator Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@kiritigowda kiritigowda marked this pull request as draft August 8, 2025 17:22
@kiritigowda
Copy link
Copy Markdown
Collaborator Author

Need to align with rocDecode after fixing issue - ROCm/rocDecode#629

@kiritigowda kiritigowda marked this pull request as ready for review August 11, 2025 17:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the CMake configuration for the RPP (ROCm Performance Primitives) library by implementing proper package configuration support and automatic version file generation.

  • Replaces manual library/include path searches with find_package mechanism
  • Adds auto-generated CMake config and version files for better package discovery
  • Updates header file installation paths and generates version info from CMake variables

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
utilities/test_suite/HOST/CMakeLists.txt Updates RPP discovery to use find_package and modernizes variable naming
utilities/test_suite/HIP/CMakeLists.txt Similar updates to HOST version for HIP backend tests
utilities/test_suite/CMakeLists.txt Enhanced package discovery with version checks and better error handling
cmake_modules/rpp-config.cmake.in New CMake package configuration template
api/rpp_version.h.in New template for auto-generated version header
api/rpp_version.h Removes hardcoded version header (now generated)
CMakeLists.txt Adds package configuration generation and updates installation paths

@kiritigowda kiritigowda merged commit b5fc4e5 into ROCm:develop Aug 11, 2025
6 of 9 checks passed
@kiritigowda kiritigowda deleted the kg/cmake-config branch August 11, 2025 20:54
ManasaDattaT pushed a commit to ManasaDattaT/rpp that referenced this pull request Dec 19, 2025
* CMake Config - updates

* Git - Ignore old version files

* RPP - Find fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:precheckin enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants