Skip to content

rocprofiler-sdk: Use TheRock's ELFIO package - #8395

Draft
sstamenk wants to merge 1 commit into
mainfrom
users/sstamenk/rocprofiler-sdk-use-therock-elfio
Draft

sstamenk wants to merge 1 commit into
mainfrom
users/sstamenk/rocprofiler-sdk-use-therock-elfio

Conversation

@sstamenk

Copy link
Copy Markdown
Member

Motivation

The SDK currently builds its own ELFIO submodule, bypassing the copy managed and patched by TheRock.

Technical Details

Set ROCPROFILER_BUILD_ELFIO=OFF and add therock-elfio as a build dependency so the SDK resolves ELFIO through TheRock's package provider.

This allows the SDK to consume the ELFIO updates in #7772 and #7773 once those backports land.

JIRA ID: SWSPLAT-24296
JIRA ID: SWSPLAT-24318

Test Plan

Run pre-commit checks and inspect the dependency configuration. During integration testing, build rocprofiler-sdk and confirm its compiler include paths use TheRock's ELFIO package.

Test Result

  • Pre-commit and git diff --check passed.
  • Full SDK build and compiler include-path verification have not been run.

Submission Checklist

Prepared with AI assistance.

Disable the SDK's internal ELFIO build and declare therock-elfio as a build dependency so package discovery uses TheRock's managed headers.
@therock-pr-bot

therock-pr-bot Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The committed consumer graph must be regenerated to include the new dependency edge.

1 open finding
What changed in this PR

Routes rocprofiler-sdk to TheRock’s patched ELFIO package.

Changes:

  • Disables rocprofiler-sdk’s bundled ELFIO build.
  • Adds therock-elfio as a build dependency.
File Description
profiler/​CMakeLists.txt Configures rocprofiler-sdk to consume TheRock’s ELFIO package.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread profiler/CMakeLists.txt
Comment on lines +135 to +136
BUILD_DEPS
therock-elfio

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

2 participants