Skip to content

Install NNEF-Tools parser headers alongside the sample impl#72

Merged
kiritigowda merged 3 commits into
openvx_1.3.2from
kg/install-nnef-headers
Jul 15, 2026
Merged

Install NNEF-Tools parser headers alongside the sample impl#72
kiritigowda merged 3 commits into
openvx_1.3.2from
kg/install-nnef-headers

Conversation

@kiritigowda

Copy link
Copy Markdown
Member

Summary

  • cnnef.h and the nnef/ headers from kernels/NNEF-Tools/parser/cpp/include/ are used directly by CTS test sources (test_nnef_import.c) but were not installed by make install
  • Downstream consumers had to pass a separate -I pointing into the sample impl source tree to find them
  • Add an install(DIRECTORY) rule so the headers land in $OPENVX_DIR/include/ alongside the OpenVX headers — reachable via the standard OPENVX_INCLUDES path

Test plan

  • Build with -DOPENVX_CONFORMANCE_NNEF_IMPORT=ON and make install
  • Verify cnnef.h appears under $OPENVX_DIR/include/
  • Build CTS against the install without any extra -I flag — should compile cleanly

🤖 Generated with Claude Code

kiritigowda and others added 3 commits July 15, 2026 13:55
Add an install(DIRECTORY) rule for kernels/NNEF-Tools/parser/cpp/include/
so that cnnef.h and the nnef/ headers are installed into the include
directory alongside the OpenVX headers. This allows downstream consumers
(e.g. the CTS) to find them via OPENVX_INCLUDES without needing a
separate -I pointing into the sample impl source tree.

Co-Authored-By: Claude <noreply@anthropic.com>
CMAKE_INSTALL_INCLUDEDIR is empty because GNUInstallDirs is not
included in this project; use the literal 'include' to match the
pattern used by the rest of the sample impl.

Co-Authored-By: Claude <noreply@anthropic.com>
The spec declares vx_event_t.user_event_parameter as void* but
vxSendUserEvent takes const void*. Cast to void* on assignment to
match the spec-defined field type.

Co-Authored-By: Claude <noreply@anthropic.com>
@kiritigowda kiritigowda added the enhancement New feature or request label Jul 15, 2026
@kiritigowda
kiritigowda merged commit e54f081 into openvx_1.3.2 Jul 15, 2026
55 checks passed
@kiritigowda
kiritigowda deleted the kg/install-nnef-headers branch July 15, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant