Skip to content
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

Support ARM #130

Open
Dev1an opened this issue Jun 23, 2017 · 15 comments

Comments

@Dev1an
Copy link

commented Jun 23, 2017

Add support for ARM architectures. It would open up meteor to a whole new world of embedded developers.

@zimme

This comment has been minimized.

Copy link

commented Jun 25, 2017

We have some prior arts over here.
https://github.com/4commerce-technologies-AG/meteor

@Dev1an

This comment has been minimized.

Copy link
Author

commented Jun 25, 2017

@zimme What is the status of that project? Are you discontinuing it?

@zimme

This comment has been minimized.

Copy link

commented Jun 25, 2017

@Dev1an, seems like it's at a standstill. I guess the maintainers of that fork hasn't had much time for it lately. Maybe open a "status update" issue on their issue tracker and ask how they see the future for that project.

@zimme

This comment has been minimized.

Copy link

commented Jun 25, 2017

Hopefully it might just be a matter of merging/rebasing in the latest changes from Meteor and you have a working version of the latest Meteor on ARMv7 and ARMv8. I do believe that version don't support MongoDB, as in you need to provide your own MongoDB from the OS or on a separate server.

@Dev1an

This comment has been minimized.

Copy link
Author

commented Jun 25, 2017

MongoDB supports ARMv8 (64-bit) or newer (see this post from one year ago).

@matthova

This comment has been minimized.

Copy link

commented Jul 7, 2017

I would be interested in working to support this feature, but I don't know where to start.
Any tips?

@Dev1an

This comment has been minimized.

Copy link
Author

commented Jul 7, 2017

@matthov: ask Tom Freudenberg, he's still working on arm meteor builds.

@matthova

This comment has been minimized.

Copy link

commented Jul 8, 2017

Thanks. Here is his defacto guide, for reference https://meteor-universal.tumblr.com/tagged/installation

@duvrai

This comment has been minimized.

Copy link

commented Oct 4, 2017

It seems like this feature request more or less migrated from meteor/meteor#6033

@christofu

This comment has been minimized.

Copy link

commented Oct 12, 2018

We run a big distributed environment with lots of microservices based on Meteor. It's painful and expensive to be using x86_64 single board computers when we could easily design boards using ARM. We do use some ARM SBCs running the (now ancient) "Universal Port" for super simple and not frequently updated microservices.

I can foresee a big uptick in usage with people using Raspberry Pis and other ARM-based maker boards if Meteor was available on ARM.

We likely could do it ourselves but then we'll be stuck in manual-update-cycle hell. Just wanted to voice support for officially supported ARM. This certainly cannot be as difficult as the windows port.

@broth-eu

This comment has been minimized.

Copy link

commented Jun 11, 2019

Is there any progress on this? Will ARM architectures ever be supported?

@eskan

This comment has been minimized.

Copy link

commented Jul 16, 2019

as arm devices becomes more and more popular meteor should support at least arm64 to valid architecture.

@lorros

This comment has been minimized.

Copy link

commented Jul 21, 2019

I've recently compiled a fairly large project on A20 (i.e., 32-bit Arm v7l / armhf arch) using Meteor 1.8.1 and managed to run it on the same machine (not in development mode, but the actual results of the build). Currently, an external mongodb is required. I don't really have time now to bring each-and-every code to meet the possible requirements of a PR; if any of you does, I can grant access on a per-user basis (after erasing the company-specific codes) to the machine that's running it. Machine is a Banana PI R1, but mem. use was low enough that a Raspberry PI Zero might be considered. lorro-at-please-dont-spam-lorro.hu

@dave-ct

This comment has been minimized.

Copy link

commented Aug 11, 2019

@lorros do you have the steps you went through to compile 1.8.1 on arm?

@lorros

This comment has been minimized.

Copy link

commented Aug 13, 2019

Hi @dave-ct ,
I can give you temp access to the router if you mail me a desired username/pass (after I erased secure content, jftr), or share the sd card's content in a private channel (16GB). It's not just a few steps, but some code modifications as well (which are yet to be completed). Alternatively, we might push a code review together.
Also keep in mind that the first step is to find a suitable machine for mongodb, which is unsupported on 32-bit archs [1]. I haven't yet completed a full static build on x86 either (simply used the package provider's version), which would (have) be(en) required for running via qemu-linux.
Once you have mongodb, you need the standard tools & packages that you can copy (either the files or package name list, note this is distrib AND board-specific) from the router, fix each and every point that has x86_64 or similar (this is done on my router, it follows 2 patterns, search & replace), create the bundle as the distributor would normally do, upload somewhere & change the download path conditionally and then run the install. Current stage tries to download always (unless in cache), this is sg to fix I think. That's just a nutshell.
Once it's distrib-ready, this might be shared with a broad audience, it's just the early stage that I prefer to keep amongst people who help fixing it (or keep here till I fix it and upload it), so that it reaches a given level of code quality before it goes public (or to PR).

[1] I'm actually considering writing an email to them, estimating the CO2-impact of this decision, given that these boards might be decommissioned earlier if lacking mongodb. Millions of boards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants
You can’t perform that action at this time.