Skip to content

npm publish prebuild #3

@drom

Description

@drom

node-circt bindings need to be published on npm to be useful as JS component.
Typically Native C/C++ addons published on npm as the source code and then compiled during installation on a specific platform CPU (x86, ARM); OS (Linux, OSX, Windows (32, 64-bit), JS runtime type / version(Browser, NodeJS, Electron, NWJS).

In the case of LLVM/MLIR/CIRCT, it would be hard/slow to publish or bring all source code during module installation.
We should think about publishing precompiled binaries using one of NodeJS recommended ways:
https://nodejs.org/api/n-api.html#n_api_uploading_precompiled_binaries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions