Skip to content

Issue 70: Fix SVP CI Build Issues.#81

Merged
riwoh merged 2 commits intordkcentral:mainfrom
riwoh:issue-70-fix-svp-ci-build
Apr 13, 2026
Merged

Issue 70: Fix SVP CI Build Issues.#81
riwoh merged 2 commits intordkcentral:mainfrom
riwoh:issue-70-fix-svp-ci-build

Conversation

@riwoh
Copy link
Copy Markdown
Contributor

@riwoh riwoh commented Apr 13, 2026

Previous commit did not propagate the ENABLE_SVP flags in config.

riwoh added 2 commits March 28, 2026 08:20
The tasecureapi headers guard SVP types (sa_svp_buffer, sa_buffer.context.svp)
behind #ifdef ENABLE_SVP / #if ENABLE_SVP. The CI was only passing
-DENABLE_SVP=ON when building tasecureapi itself, but not when building
secapi2-adapter. This caused compile errors for unknown type 'sa_svp_buffer'
and missing 'svp' member in the sa_buffer union.

Pass -DENABLE_SVP=1 via CMAKE_C_FLAGS and CMAKE_CXX_FLAGS when configuring
secapi2-adapter so that the installed tasecureapi headers expose SVP types.
Copilot AI review requested due to automatic review settings April 13, 2026 19:18
Copy link
Copy Markdown

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 addresses CI build failures related to SVP support by ensuring the SVP enablement flags are passed during the GitHub Actions CMake configure/build steps.

Changes:

  • Configure and install the reference tasecureapi implementation with -DENABLE_SVP=ON.
  • Add SVP-related preprocessor definitions to the main project’s CI C/C++ compile flags during configuration.

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

Comment thread .github/workflows/ci.yaml
@riwoh riwoh merged commit 3512dbe into rdkcentral:main Apr 13, 2026
8 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 13, 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.

3 participants