-
Notifications
You must be signed in to change notification settings - Fork 165
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
Does this support arm64 architectures? #44
Comments
I couldn't find a definitive answer to this. What I did for now was created a t3a.nano instance which was enough to download and build ImageMagick 7 myself. I configured it with |
one difficulty in the approach I outlined above is that even if you build 'static' you still need to do a few other things.
In general, this isn't pretty. I agree that if the public layer works with arm (I still haven't confirmed this up or down) that's easier to use. I really don't know, though, how durable public layers are. I tend to build my own for a few reasons: one is that I want one layer instead of lots, because I think that improves startup time (is that true?) The other is I'm worried that if the public layer's owner decides to delete it does that leave me in a lurch the next time I go to deploy my stack. So depending on public layers is easy but it makes me nervous, probably because I don't know the answers to these questions. |
OK. I figured it out, to a point. From the repo page HERE you have to click deploy, which creates a CF stack with one thing in it - the layer. From there, you can
That gets you a REALLY long URL that you can fetch with The answer to the question of whether or not it will work on ARM is answered here:
It is definitely built for x86, and doesn't include both. It also does not have any .so files in it. The executable itself is only linked against libraries that are already in the lambda environment:
The image includes a bunch of files that I am not sure about, as in, why do they need to be there, meaning everything in include/ and lib/ - in particular, I'm not sure why you'd need a bunch of static libraries or include files.
|
I have recently compiled one for arm architecture, you can find it here https://github.com/CyprusCodes/imagemagick-aws-lambda-2/tree/master/archive |
We are trying to use this layer for our lambda function which is running on graviton processors with arm64 architecture.
We are getting an error:
Just wanted to confirm if this supports arm64 as of now?
The text was updated successfully, but these errors were encountered: