What would be the target-triple to cross-compile for Graviton.

From the MAX Engine FAQ
Does MAX Engine support generic ARM architectures? Yes, both Mojo and MAX Engine support generic ARM architectures like Apple ARM chips. We formally benchmark ourselves on Graviton because it’s the most commonly used ARM chip for server deployments, and our benchmarks are designed to match what users use most often in production.
What would be the target-triple to cross-compile my Mojo sources to ARM for AWS Graviton. I like to decompile the binaries and evaluate the quality of the assembly.
Modular Docs - MAX Engine FAQ
Answers to questions we expect about MAX Engine.
2 Replies
Alex Kirchhoff
Alex Kirchhoff13mo ago
I believe Graviton's usual target triple is aarch64-linux-gnu. But I expect this to be of little use, since last time I checked, our LLVM builds only include the native architecture -- we do not formally support cross compilation yet. Our ARM benchmarks are through compiling and running Mojo natively on ARM. These packages are not publicly available at this time, though I expect they will eventually become available (though I have no timeline).
Henk-Jan Lebbink
Henk-Jan LebbinkOP13mo ago
@Alex Kirchhoff Thanx for the info. I guess I need to spin-up some EC2 C7g to get these results.
Want results from more Discord servers?
Add your server