Skip to content

openvino-inference-engine: use system node-api-headers#57

Open
kkepka wants to merge 1 commit intomainfrom
use-system-node
Open

openvino-inference-engine: use system node-api-headers#57
kkepka wants to merge 1 commit intomainfrom
use-system-node

Conversation

@kkepka
Copy link
Contributor

@kkepka kkepka commented Mar 4, 2026

Replace the bundled node-api-headers git submodule with system-provided headers from the nodejs package in meta-oe. This reduces external fetches during build and aligns with Yocto best practices for system dependencies.

  • Add patch (ENABLE_SYSTEM_NODE CMake option) to use system Node.js API headers via find_path() instead of FetchContent download
  • Remove node-api-headers from SRC_URI, SRCREV, SRCREV_FORMAT, and LIC_FILES_CHKSUM
  • Add PACKAGECONFIG[node] for opt-in Node.js bindings (off by default)
  • Add openvino-inference-engine-node subpackage (RDEPENDS: nodejs)
  • Install ov_node_addon.node manually in do_install (upstream CMake excludes it from install via CPACK RPM packaging)

Replace the bundled node-api-headers git submodule with system-provided
headers from the nodejs package in meta-oe. This reduces external fetches
during build and aligns with Yocto best practices for system dependencies.

- Add patch (ENABLE_SYSTEM_NODE CMake option) to use system Node.js
  API headers via find_path() instead of FetchContent download
- Remove node-api-headers from SRC_URI, SRCREV, SRCREV_FORMAT,
  and LIC_FILES_CHKSUM
- Add PACKAGECONFIG[node] for opt-in Node.js bindings (off by default)
- Add openvino-inference-engine-node subpackage (RDEPENDS: nodejs)
- Install ov_node_addon.node manually in do_install (upstream CMake
  excludes it from install via CPACK RPM packaging)

Co-authored-by: David Nyström <david.nystrom@est.tech>
Signed-off-by: Krzysztof Kepka <krzysztof.kepka@intel.com>
@kkepka kkepka requested a review from yktyagi March 4, 2026 12:24
Copy link
Contributor

@nysan nysan left a comment

Choose a reason for hiding this comment

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

LGTM

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