Skip to content

[Thunder] Promote configs/extensionconfigs settings to cmake - #2219

Open
sebaszm wants to merge 2 commits into
masterfrom
development/promote-configs-settings-to-cmake
Open

[Thunder] Promote configs/extensionconfigs settings to cmake#2219
sebaszm wants to merge 2 commits into
masterfrom
development/promote-configs-settings-to-cmake

Conversation

@sebaszm

@sebaszm sebaszm commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 2, 2026 16:17

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 new CMake options are not wired into the legacy config-generation path and will have no effect under that build configuration.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates Thunder’s generated runtime configuration to allow configs (plugin configs directory) and extensionconfigs (extension configs directory) to be supplied via CMake, aligning config generation with the existing runtime support for these settings.

Changes:

  • Add configs and extensionconfigs to the Thunder config template so they can be emitted into the generated config.json.
  • Extend the config-generator parameter whitelist to include the new settings.
  • Introduce new CMake cache options (CONFIG_PATH, EXTENSION_CONFIG_PATH) intended to drive those fields.
File summaries
File Description
Source/Thunder/Thunder.conf.in Emits configs and extensionconfigs values into the generated config.
Source/Thunder/params.config Whitelists configs and extensionconfigs for config generation.
Source/Thunder/GenericConfig.cmake Adds CMake cache options intended to feed the new config fields.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment thread Source/Thunder/GenericConfig.cmake Outdated
Comment thread Source/Thunder/GenericConfig.cmake Outdated
Copilot AI review requested due to automatic review settings September 2, 2026 16:25

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 template currently always emits configs/extensionconfigs (potentially as empty strings), creating generator/version-dependent output compared to the legacy CMake path which omits them when unset.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread Source/Thunder/Thunder.conf.in
@sebaszm
sebaszm requested a review from MFransen69 September 2, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants