Comments (8)
It would be nice if the epoll library had some prebuilt binaries shipping with it, either using the low-level node-pre-gyp or the higher-level prebuild and prebuild-install libraries.
Are there any projects out there that use prebuilt binaries for any of the ARM architectures? For example, for the ARMv6 architecture of the Raspberry Pi Zero and 1, or the ARMv7 architecture of the Raspberry Pi 2 or or the ARMv8 architecture of the Raspberry Pi 3? To the best of my knowledge there are no projects using prebuilt binaries for any of the ARM architectures.
If epoll came pre-built for the Raspberry Pi architecture, users wouldn't have to install Python, make, or g++ to install the package anymore, which would make it a lot faster for new users to use.
Hmm... What distribution of Linux that is suitable for beginners doesn't come with all of these tools pre-installed?
from epoll.
Are there any projects out there that use prebuilt binaries for any of the ARM architectures? For example, for the ARMv6 architecture of the Raspberry Pi Zero and 1, or the ARMv7 architecture of the Raspberry Pi 2 or or the ARMv8 architecture of the Raspberry Pi 3? To the best of my knowledge there are no projects using prebuilt binaries for any of the ARM architectures.
I'm not sure, but it is possible.
Hmm... What distribution of Linux that is suitable for beginners doesn't come with all of these tools pre-installed?
DietPi doesn't, can't speak for others.
btw - thanks for your work on the onoff library, it's awesome to be able to use GPIO in node.js!
from epoll.
Are there any projects out there that use prebuilt binaries for any of the ARM architectures? For example, for the ARMv6 architecture of the Raspberry Pi Zero and 1, or the ARMv7 architecture of the Raspberry Pi 2 or or the ARMv8 architecture of the Raspberry Pi 3? To the best of my knowledge there are no projects using prebuilt binaries for any of the ARM architectures.
I'm not sure, but it is possible.
I'm going to make the claim that it's not possible until I see evidence of it being done in practice. I have never seen prebuilt binaries for any of the ARM architectures. I may be reading between the line here but it also sounds like you have never seen any either 😄
Hmm... What distribution of Linux that is suitable for beginners doesn't come with all of these tools pre-installed?
DietPi doesn't, can't speak for others.
DietPi is an extremely lightweight distribution and as such it's definitely not suitable for beginners. It's only suitable for experts. On the Raspberry Pi, Raspbian is suitable for beginners and comes with all the required tools pre-installed.
btw - thanks for your work on the onoff library, it's awesome to be able to use GPIO in node.js!
Thank you very much.
Creating prebuilt binaries for the ARM architectures, if even possible, would be a non-trivial, challenging and time consuming task. It would also require infrastructure for testing all the prebuilt binaries to ensure that they actually work. It's not something that I want to work on so I'm going to close this as a wontfix
.
from epoll.
Well, if you do want to do it at some point in the future, node-pre-gyp
supports pre-building for ARM, you just need to specify --target_arch=arm
:)
https://github.com/mapbox/node-pre-gyp#options
from epoll.
you just need to specify --target_arch=arm :)
And this is where the problems start. Which of the several ARM architectures is being referred to here? ARMv6? ARMv7, ARMv8? How is 32bit specified? How is 64bit specified?
from epoll.
ARMv7 and ARMv6 are both 32-bit, and you can built them by using the armv7
and armv6
target archs I believe - node-gyp
uses the architecture names you'd expect. ARMv8 is arm
, and ARMv8 64-bit is arm64
.
from epoll.
you can built them by using the armv7 and armv6 target archs I believe
According to open issue mapbox/node-pre-gyp#348 this doesn't work.
If you can provide a link to a project that provides prebuilt binaries for all three ARM architectures of interest we can discuss the topic.
from epoll.
Damn, that sucks. If only one of us were motivated enough to submit a PR and fix that issue!
I guess this will have to wait until mapbox/node-pre-gyp#348 is fixed.
from epoll.
Related Issues (20)
- Drop support for Node.js v0.10, v0.12, v5 and v7 HOT 1
- Timeout waiting for hardware interrupt HOT 6
- Inaccurate interrupt detection after sometime of being idle HOT 12
- Build failing on RPI 2 HOT 2
- AsyncResource constructed at the incorrect time HOT 1
- Can't install epoll module on raspian HOT 3
- Installing dummy module for Windows HOT 6
- epoll interrupt handling any more robust now? HOT 5
- npm install onoff on raspberry PI 512 MB DE HOT 4
- Ubuntu 18.04 Server fails to install @node-gyp rebuild HOT 7
- node-gyp rebuild error on Rpi3 HOT 2
- epoll 64bit support for Raspberry Pi 4B error epoll.node: wrong ELF class: ELFCLASS64 HOT 2
- Add node-gyp to package dependencies HOT 3
- Electron - Requiring Native Modules in the Renderer Process to be NAPI or Context Aware HOT 5
- Error: The module epoll.node was compiled against a different Node.js version using NODE_MODULE_VERSION 93 HOT 2
- node-gyp installation fails on raspbian HOT 3
- error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures HOT 3
- Failure to install epoll HOT 1
- nan no longer works due to ABI interface changes in node and electron HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epoll.