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

Add ARM support #1538

Merged
merged 15 commits into from
Jul 9, 2022
Merged

Add ARM support #1538

merged 15 commits into from
Jul 9, 2022

Conversation

chadwhitacre
Copy link
Member

@chadwhitacre chadwhitacre changed the title Start messing with arm Add ARM support Jun 23, 2022
@BYK
Copy link
Member

BYK commented Jun 23, 2022

Looking forward to LEG support.

@chadwhitacre
Copy link
Member Author

I have to admit I googled "leg computer architecture" before remembering that you are entering into your prime with the dad jokes. 😏 😁 🤦‍♂️

@BYK
Copy link
Member

BYK commented Jun 23, 2022

@chadwhitacre this is only the beginning but I'll save Sentry's public repos of the horrors.

Copy link
Collaborator

@aminvakil aminvakil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So with this change there isn't any other stuff which does not work on ARM?

@chadwhitacre
Copy link
Member Author

So with this change there isn't any other stuff which does not work on ARM?

Unclear. We have ARM working for main Sentry dev env so should be able to audit that ...

chadwhitacre and others added 5 commits June 29, 2022 08:29
This works around the issue docker/cli#3286, namely that containers are not built for linux/arm64 on Apple silicon Macs.

To solve this we add a PLATFORM variable which is used for building local containers.
.env Outdated Show resolved Hide resolved
Copy link
Collaborator

@aminvakil aminvakil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @ethanhs !

install/detect-platform.sh Outdated Show resolved Hide resolved
…settings

This allows running e.g. docker-compose up -d after running ./install.sh without needing to source install/check-platform.sh
Copy link
Collaborator

@aminvakil aminvakil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it needs more change for ARM or not, but I've tested this in a clean local machine and it works fine.

@ethanhs
Copy link
Contributor

ethanhs commented Jul 6, 2022

I'm not sure if it needs more change for ARM or not, but I've tested this in a clean local machine and it works fine.

Well, it works on my machine :) (which is an ARM/M1 Pro Mac).

I haven't tested this on ARM Linux, but it should theoretically work.

.env Outdated Show resolved Hide resolved
@chadwhitacre
Copy link
Member Author

@ethanhs lolsob I'm the PR author so I can't approve. Left some comments inline.

@ethanhs
Copy link
Contributor

ethanhs commented Jul 6, 2022

lolsob I'm the PR author so I can't approve

@chadwhitacre Ha, yeah I was going to request review from you but you can't do that on your own PR :P

Copy link
Contributor

@ethanhs ethanhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good to merge :)

@ethanhs ethanhs merged commit ddbf7cd into master Jul 9, 2022
@ethanhs ethanhs deleted the cwlw/arm branch July 9, 2022 02:03
@ethanhs ethanhs mentioned this pull request Jul 11, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants