Skip to content

[Build]: Improving openvino packaging on Nix/NixOS ENABLE_JS: NOT ANDROID;NOT EMSCRIPTEN #31750

@izelnakri

Description

@izelnakri

OpenVINO Version

2025.2.1

Operating System

Other (Please specify in description)

Hardware Architecture

x86 (64 bits)

Target Platform

All platforms. Trying to improve the packaging on nixpkgs.

Build issue description

Hi there,

I'm currently trying to improve openvino packaging on nixpkgs and realized there is this command on cmake/features.cmake:

ov_dependent_option(ENABLE_JS "Enables JS API building" ${ENABLE_JS_DEFAULT} "NOT ANDROID;NOT EMSCRIPTEN" OFF)

Does this mean this ENABLE_JS cmake flag will disable android and emscripten/webassembly distributions if I enable this flag on the default nix/cmake build?

This seems like a bad idea for a general-purpose packaging of the openvino package. Please let me know how to go about this.

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions