-
Notifications
You must be signed in to change notification settings - Fork 343
ARM support #130
Comments
Hi @Vinno97 Yes, an ARM version of one or more of our docker images would be nice to have. If it could be parametrized so that we can use the same sources to build it/them, even better (e.g. like we do for "latest" vs "next" versions of the images).
I think this error happens when the Yep, looks-like only the major "desktop" plarforms are supported. (Update: to be confirmed - this is not conclusive by itself I think): As a temporary work-around, you could remove |
Hi Marc, Thank you, I think I will try that if I cannot get it to work otherwise. In response to the parameterization of the image: I am currently already exploring the possibilities of using If successful, it might enable us to (easily) provide images for multiple arches. Regarding P.S. I double-checked if > const os = require('os')
undefined
> os.arch()
'arm' |
I have been tinkering with it for a couple hours and I believe the installation of all OS dependencies in the RUN NODE_OPTIONS="--max_old_space_size=4096" yarn theia build
I am not familiar with how Theia is set up and this error does not give me enough information to easily see what it is caused by. Is there some way to enable more verbose logging to indicate what causes the segmentation fault? I do not expect to be able to work on it for the next few days, but here is my W.I.P.: |
hi @Vinno97
ah yes, the GH API rate limit is a recurring problem when
+1 sounds like a good thing to try. |
The "--max_old_space_size=4096" switch was added to work-around a heap exhaustion issue during build/CI, affecting the I wonder: what device are you building-on? Does it have 4+GB of RAM? If that much memory cannot be allocated for the JS heap, it might fail quickly. Maybe try a lower value? I think default is 1.8GB. |
I was building on a laptop with 16GB RAM using qemu. I do not think that the available RAM was the issue, but I also cannot rule it out. I am still busy for the next few days, but I hope to be able to continue working on it in the last half of next week. |
This contribution has been automatically marked as stale due to inactivity, and it will be closed if no further activity occurs. Thank you for contributing to Theia! |
Hi,
I noticed there are currently no ARM images available for Theia, but I see no technical reason for it being so. Many Dockerfiles should already be ARM-compatible, and can be adjusted with just minor changes.
For example:
theia-apps/theia-full-docker/Dockerfile
Line 86 in f5117fe
can be changed to something like:
I propose following https://blog.hypriot.com/post/setup-simple-ci-pipeline-for-arm-images/ to include the ARM builds in the CI pipeline.
P.S. I have tried building the images by myself on my Raspberry Pi, but all that I have tried kept getting stuck at the same place. I do not expect this to be related to it being ARM, but rather some other factor.
The text was updated successfully, but these errors were encountered: