-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Allow code-server to identify raspberry pi 4 (armv7l) #3598
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for your PR @janiversen! We discussed this internally and instead we were wondering if you want to do this?
Thanks for making your first contribution! 🙂 |
Codecov Report
@@ Coverage Diff @@
## main #3598 +/- ##
=======================================
Coverage 60.67% 60.67%
=======================================
Files 35 35
Lines 1790 1790
Branches 404 404
=======================================
Hits 1086 1086
Misses 562 562
Partials 142 142
Continue to review full report at Codecov.
|
Changed. I am still fighting with “yarn watch” it seems to compile code-server on raspberry pi 4 is “interesting”. When I run “install.sh” it works (apart from interesting errors about the number of notify handles), so next step is to find the differences. |
I know what you're thinking and I'm thinking it too — the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for this fix! 🚀
This looks good to me. I'm going to have @oxy or @code-asher give the final approval though since they know this part of the codebase better than me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! We could use local cpu
to match the general style in that file but it's not a big deal.
I am not sure, what I can do about the failing CI ? (if that is a show-stopper for merging my first commit).
I just got code-server up and running on my Mac (in the background) and my iPad as front-end. I will try to build code-server on the Mac, since I can easily cross compile. Let me know if I can help with the migration or with the 1.57 branch (the new terminal windows are going to help my daily work a lot). |
Failing CI is unrelated so I'll go ahead and merge this in. I think 1.57 is mostly finished but I'll leave some notes on that branch for what is left. Thanks for the contribution! |
This is a one line fix, so adding a PR seems a lot (but will do if demanded).
This fix is only interesting for developers trying to use raspberry pi 4.
With this patch
yarn
passes. The general plan is to work through all issues in being able to build the code on a raspberry pi 4.Next PR will concentrate on
yarn watch
.Edit:
Arch() will not either return the converted cpu type or raw “uname -m”
Fixes #3612
Checklist
CHANGELOG.md