Skip to content

feat(build): add typed ROCm build flag provider protocol - #6984

Open
stellaraccident wants to merge 3 commits into
mainfrom
users/stella/build-flag-protocol
Open

feat(build): add typed ROCm build flag provider protocol#6984
stellaraccident wants to merge 3 commits into
mainfrom
users/stella/build-flag-protocol

Conversation

@stellaraccident

@stellaraccident stellaraccident commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Provide one fail-closed build flag contract for integrated and standalone ROCm project builds. Values are resolved while building a library and do not add an installed package dependency.

Changes:

  • Add versioned BOOL and INTEGER provider state and consumer resolution.
  • Add unconditional aux-overlay C and C++ conformance compilation.
  • Document adoption, precedence, validation, and distribution boundaries.

Tests:

  • 12 focused Python and CMake fixture tests passed.
  • Minimal TheRock configure and therock-aux-overlay+build passed.
  • pre-commit passed for every changed TheRock file.

Provide one fail-closed build flag contract for integrated and standalone ROCm project builds. Values are resolved while building a library and do not add an installed package dependency.

Changes:
- Add versioned BOOL and INTEGER provider state and consumer resolution.
- Add unconditional aux-overlay C and C++ conformance compilation.
- Document adoption, precedence, validation, and distribution boundaries.

Tests:
- 12 focused Python and CMake fixture tests passed.
- Minimal TheRock configure and therock-aux-overlay+build passed.
- pre-commit passed for every changed TheRock file.
@therock-pr-bot

therock-pr-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

❌ PR Check — Action Required

Check Status Details
📝 PR Description ❌ Fail Error: PR description must reference a JIRA ID, ISSUE ID, or a GitHub closing keyword.
Expected: include a JIRA ID / ISSUE ID line (separator : or -, or omitted; value may be a JIRA key, a number with/without #, or a link), OR a closing keyword + issue reference. Accepted examples:
JIRA ID : TESTAUTO-6039
JIRA ID - #330
JIRA ID #330
JIRA ID (on separate line)
ROCM-25757
ISSUE ID : TESTUTO-3334
ISSUE ID #3334
ISSUE ID - TESTAUTO-3433
ISSUE ID (on separate line)
AIRUNTIME-2352
ISSUE ID : https://github.com/<org_name>/<repo_name>/issues/1234
Closes #10
Fixes octo-org/octo-repo#100
Resolves: #123
#123
https://github.com/<org_name>/<repo_name>/issues/123
Current: no valid JIRA/ISSUE/closing-keyword reference found
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled

⚠️ 1 policy check(s) failed. Please address the issues above before this PR can be Reviewed.

🚫 Please fix the failed policies

  • ❌ PR Description

The Not ready to Review label was added to this PR. Once all policies pass, the label is removed automatically.

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

🙋 Wish to Override Policy?

@therock-pr-bot therock-pr-bot Bot added the Not ready to Review PR has unresolved policy failures — reviews blocked label Jul 30, 2026
@therock-pr-bot

Copy link
Copy Markdown

🚫 Please fix the failed policies before requesting reviews.

The following policy checks failed:

  • ❌ PR Description

The Not ready to Review label has been added to this PR.
Once all policies pass, the label will be removed automatically.

Comment thread base/aux-overlay/CMakeLists.txt Outdated
Avoid coupling aux-overlay to its current relative location in the source tree.

Changes:
- Resolve the canonical build flag helper through THEROCK_SOURCE_DIR.

Tests:
- 7 focused build flag fixture tests passed.
- Standalone aux-overlay conformance compilation passed.
- Integrated therock-aux-overlay+build passed.
- pre-commit passed for the changed file.
@stellaraccident
stellaraccident marked this pull request as ready for review July 30, 2026 01:30
Keep the aux-overlay conformance build within its normal subproject lifecycle and make diagnostic assertions insensitive to platform-specific CMake line wrapping.

Changes:
- Remove aux-overlay from the top-level priority build target.
- Normalize whitespace before checking expected CMake failures.

Tests:
- 7 focused ROCm build flag tests passed on Linux.
- comm-libs stage configuration completed successfully.
- pre-commit passed for both changed files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Not ready to Review PR has unresolved policy failures — reviews blocked

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

1 participant