-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm publish prebuild #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
node-circt
bindings need to be published onnpm
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
The text was updated successfully, but these errors were encountered: