Skip to content

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.
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 !

…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.

@emmatyping
Copy link
Contributor

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.

@chadwhitacre
Copy link
Member Author

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

@emmatyping
Copy link
Contributor

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

@emmatyping emmatyping 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 :)

@emmatyping emmatyping merged commit ddbf7cd into master Jul 9, 2022
@emmatyping emmatyping deleted the cwlw/arm branch July 9, 2022 02:03
@emmatyping emmatyping 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.

5 participants