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

Feature request: ARM64 SAM CLI Binary #3908

Closed
driverpt opened this issue May 26, 2022 · 11 comments
Closed

Feature request: ARM64 SAM CLI Binary #3908

driverpt opened this issue May 26, 2022 · 11 comments
Assignees
Labels
platform/linux platform/mac/arm Issues related to Arm64 stage/pm-review Waiting for review by our Product Manager, please don't work on this yet type/feature Feature request

Comments

@driverpt
Copy link

Describe your idea/feature/enhancement

We require ARM64 build of sam-cli

Currently we just fetch the file from https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip and install it according to the instructions

Proposal

Add an aarch64 artifact so we can install on ARM Images

Additional Details

We need to build GraalVM Image in aarch64, since GraalVM does not generate cross-platform code. And we want to deploy to Lambda using SAM CLI

@driverpt driverpt added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels May 26, 2022
@mingkun2020 mingkun2020 added the platform/mac/arm Issues related to Arm64 label May 30, 2022
@mingkun2020
Copy link
Contributor

Thanks for the feature request! We have a roadmap here, but we also try to take in popular feature requests based on 👍🏽 from the community. We will be adding this to our intake for prioritization.

@mingkun2020 mingkun2020 added stage/pm-review Waiting for review by our Product Manager, please don't work on this yet and removed maintainer/need-response stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels May 30, 2022
@driverpt
Copy link
Author

@mingkun2020 , the target platform is actually Amazon Linux 2 ARM

@bjonnh-work
Copy link

It would be useful for developers on Apple ARM hardware as well.

@qingchm
Copy link
Contributor

qingchm commented Dec 19, 2022

@bjonnh-work Hi there I'm glad to inform you that ARM on Mac is now supported! In the release artifacts please find the pkg artifact related to ARM and install it following any of the options listed on https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html MacOS section. @driverpt I don't see why we shouldn't try to provide a native installer to Linux ARM either. So I will try to get this onto our agenda, based on the fact that we get some up-votes for this summed up here. Feel free to track this issue and engage me for any updates

@bjonnh-work
Copy link

Thank you @qingchm that's deeply appreciated.

@driverpt
Copy link
Author

Hello @qingchm , thank you for all your efforts on this one. I have one extra request, sorry to be always asking, but, can you add a consistent install experience between x86 and arm? According to the documentation they are different

@qingchm
Copy link
Contributor

qingchm commented Dec 19, 2022

@driverpt No worries always feel free to poke me on this! Can you explain for a bit how the installation experience differs between x86 and arm for you? If it's about the Mac system, I believe the installation experience would be the same as we provide native installers for both. On linux systems I do see the gap here as we already have native installers out for x86 but not yet for arm. Once the native installer is released for linux arm the documentation will be consistent! Let me know if there's anything for us to improve on before that gets implemented!

@metaskills
Copy link
Contributor

I require a linux arm64 build. This is required for CI/CD pipelines and devcontainer features. We script the install [1] and I was hoping we could do what Microsoft does [2] with the AWS CLI.

  1. https://github.com/customink/codespaces-features/tree/main/src/sam-cli
  2. https://github.com/devcontainers/features/blob/main/src/aws-cli/install.sh#L122

IMO, this should have been done already. Not everyone has Python on their system when needing this tool. Was a huge disappointment to find this was not already available.

@jfuss jfuss changed the title Feature request: ARM64 SAM CLI Build Feature request: ARM64 SAM CLI Binary Feb 10, 2023
@teq0
Copy link

teq0 commented Nov 15, 2023

This feature request has been open for 18 months, any updates?

@hnnasit
Copy link
Contributor

hnnasit commented Dec 15, 2023

Hi all, native installer support for Linux Arm64 has been released in SAM CLI 1.104.0. More details can be found in the docs. Resolving this issue!

@hnnasit hnnasit closed this as completed Dec 15, 2023
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/linux platform/mac/arm Issues related to Arm64 stage/pm-review Waiting for review by our Product Manager, please don't work on this yet type/feature Feature request
Projects
None yet
Development

No branches or pull requests

9 participants