Skip to content

Conversation

@maniselva006c
Copy link

Reason for change:
The clang compiler is required for the secclient-rs module. This commit integrates the meta-clang recipe, which provides compiler version 1.72.0.

Copilot AI review requested due to automatic review settings December 20, 2025 04:33
@maniselva006c maniselva006c requested review from a team as code owners December 20, 2025 04:33
Copy link
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 adds support for the meta-clang layer to the BitBake build configuration, which is needed for compiling the secclient-rs module. The change adds a conditional layer inclusion that checks for the presence of meta-clang before adding it to the build layers.

  • Adds MANIFEST_PATH_META_CLANG variable check and conditional layer inclusion
  • Uses the standard pattern of checking for layer.conf existence before adding the layer

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 74 to 76
"
BBLAYERS =+ "${@d.getVar('MANIFEST_PATH_META_CLANG') if d.getVar('MANIFEST_PATH_META_CLANG') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_META_CLANG') + '/conf/layer.conf') else ''}"
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

The meta-clang layer addition lacks proper categorization with a comment header. All other layer groups in this file have descriptive comment headers (e.g., "# Common layers", "# Release layers: generic", "# Middleware layers: generic", "# Config layers: generic"). This addition should be placed in an appropriate logical group with a comment header, or if it belongs to the "Config layers: restricted/proprietary/optional" group above, it should be moved inside the multi-line BBLAYERS statement on lines 72-74.

Suggested change
"
BBLAYERS =+ "${@d.getVar('MANIFEST_PATH_META_CLANG') if d.getVar('MANIFEST_PATH_META_CLANG') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_META_CLANG') + '/conf/layer.conf') else ''}"
${@d.getVar('MANIFEST_PATH_META_CLANG') if d.getVar('MANIFEST_PATH_META_CLANG') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_META_CLANG') + '/conf/layer.conf') else ''} \
"

Copilot uses AI. Check for mistakes.
BBLAYERS =+ " \
${@d.getVar('MANIFEST_PATH_REGION_CONFIG') if d.getVar('MANIFEST_PATH_REGION_CONFIG') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_REGION_CONFIG') + '/conf/layer.conf') else ''} \
"
BBLAYERS =+ "${@d.getVar('MANIFEST_PATH_META_CLANG') if d.getVar('MANIFEST_PATH_META_CLANG') is not None and os.path.isfile(d.getVar('MANIFEST_PATH_META_CLANG') + '/conf/layer.conf') else ''}"
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

The PR description mentions "compiler version 1.72.0", but 1.72.0 is a Rust compiler version, not a clang version. Meta-clang provides the LLVM clang compiler toolchain, not Rust. If secclient-rs requires Rust 1.72.0, this should be clarified. Additionally, meta-clang typically requires specific dependencies and layer ordering (it often needs to come early in BBLAYERS, before layers that might use it). Placing it at the end of the configuration file may cause build issues if other layers need to use clang as their compiler.

Copilot uses AI. Check for mistakes.
Reason for change:
The clang compiler is required for the secclient-rs module. This commit integrates the meta-clang recipe, which provides compiler version 1.72.0.

Signed-off-by: mselva006c <mani_selvaraj@comcast.com>
Copilot AI review requested due to automatic review settings January 15, 2026 17:20
Copy link
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maniselva006c maniselva006c linked an issue Jan 22, 2026 that may be closed by this pull request
@maniselva006c maniselva006c changed the title RDKOSS-578: Include meta-clang needed for secclient-rs RDKEMW-12842: Include meta-clang needed for secclient-rs Jan 22, 2026
@maniselva006c maniselva006c reopened this Jan 22, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RDKOSS-578

2 participants