Skip to content

Commit

Permalink
Update npm.cmake: Exlude non-necessary components
Browse files Browse the repository at this point in the history
  • Loading branch information
artanokhov authored Feb 15, 2024
1 parent 5e7e51d commit e222e92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/packaging/npm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ macro(ov_cpack_settings)
# filter out some components, which are not needed to be wrapped to npm package
if(NOT OV_CPACK_COMP_${UPPER_COMP}_EXCLUDE_ALL AND
# python is not required for npm package
NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*")
NOT item MATCHES "^${OV_CPACK_COMP_PYTHON_OPENVINO_PACKAGE}_python.*" AND
NOT item MATCHES "openvino_extensions" AND
NOT item MATCHES "npu_internal")
list(APPEND CPACK_COMPONENTS_ALL ${item})
endif()
endforeach()
Expand Down

0 comments on commit e222e92

Please sign in to comment.